elektra
elektra copied to clipboard
ssh public key checker does not know ed25519
When adding a new public key of the type ed25519 the interface does not accept it.
I'm not sure the OpenStack backend supports ed25519 type keys. Will have to find out.
digging a little into the problem on two sides:
-
elektra side: the error above comes from the keypair model validity check. For ed25519 support in net-ssh we need to install libsodium and rbnacl or rbnacl-libsodium
-
openstack side: I tried to setup the ed25519 key with the openstack client and got the error response
{
"badRequest": {
"code": 400,
"message": "Keypair data is invalid: failed to generate fingerprint"
}
}
to be sure I used the openstack client in the right way I tried the same with an RSA key and it worked.
Found a bugreport for the same error here For my test I was using the API-Version 2.1, the installed Nova release is mitaka
Thank you for the investigation. Since this isn't supported in OpenStack either let's not pursue this for now. If things change we can revisit...
The openstack cli can now create keypairs for ed25519 keys, so elektra should be able to use them, too.
Ok, sounds good, I will take a look 👍
this should be fixed with #1382
Even after all these years this fills my heart with joy. Thank you so much everyone!