I'm encountering an interesting scenario where the generated fingerprint for my imported/created ed25519 SSH key is different from the one reported by ssh-keygen
in the AWS EC2 Key console.
For example, consider a random key I generated for which the ssh-keygen
fingerprint is:
64OuseEfObM7yYiEyK7u42qN1kHj6/JGnpro1XqO4pM
And AWS generated the fingerprint as such:
64OuseEfObM7yYiEyK7u42qN1kHj6/JGnpro1XqO4pM=
So, there is extra padding for some reason. Does anyone know why that is so? Alternatively, does anyone know how AWS generates these fingerprints and is it just fine to trim that last =
away? I mean padding is mostly optional, but I would like to generate the same fingerprint so I can compare them.
Also, note that this is only for ed25519 keys. Normal RSA works fine. I know they do some wonky stuff converting it to OpenSSL then back or something like that. But that's not the case for ed25519 I think...
Cheers!
string+"="
which is a bit ugly. :) The important part is that I can't reproduce this same result they are having. – Flori