Comment 2 for bug 1504598

Revision history for this message
Matthew Edmonds (edmondsw) wrote : Re: sha1 fingerprint for x509 keypair

looking further, it seems that X.509 key pairs may not actually be supported? api/openstack/compute/keypairs.py hardcodes the type to be KEYPAIR_TYPE_SSH, and doesn't seem to let a user specify X.509. Maybe what I was looking at was dead code, and the fix here is just to remove it?

Got this on IRC:

<edmondsw> objects/keypair.py appears to support x509 keypairs (KEYPAIR_TYPE_X509) but the api implementation appears to only support ssh... can anyone explain that mismatch?
<edmondsw> mriedem ^
<superdan> we did revert something related to that at some point
<edmondsw> api/openstack/compute/keypairs.py actually hardcodes the type to be KEYPAIR_TYPE_SSH
<mriedem> there was a microversion for x509 keypairs
<mriedem> claudiub: ^