Displaying 1 result from an estimated 1 matches for "public_ed25519".
2020 Jul 18
10
[Bug 3195] New: ssh-keygen unable to convert ED25519 public keys
...omponent: ssh-keygen
Assignee: unassigned-bugs at mindrot.org
Reporter: marcoshalano at gmail.com
I generate a ED25519 key using OpenSSL:
openssl genpkey -algorithm ED25519 -out key_ed25519.pem
After that I extracted the public key:
openssl pkey -in key_ed25519.pem -pubout -out public_ed25519.pem
And then I try to get the SSH public key to put on authorized_keys:
ssh-keygen -i -m PKCS8 -f public_ed25519.pem
The error was:
do_convert_from_pkcs8: unsupported pubkey type 1087
So I think ssh-keygen can't convert a ED25519 public key. The expected
result was something like:
ssh-ed25519 A...