Reputation: 723
I am trying to generate ed25519-sk
and ecdsa-sk
keys using ssh-keygen
on my Windows computer. I have OpenSSH OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3
installed and Yubikey Firmware version: 5.4.3
. But, when I do ssh-keygen.exe -t ed25519-sk -C "[email protected]"
I get below error
Generating public/private ed25519-sk key pair.
You may need to touch your authenticator to authorize key generation.
Key enrollment failed: unknown or unsupported key type
However, generating ecdsa
key works fine.
Can anyone please let me know how generate ed25519-sk
or ecdsa-sk
keys to use with Yubikey and Gitlab?
Thanks in advance
Upvotes: 1
Views: 1437
Reputation: 75
Late answer, but posting anyway as this is still relevant.
OpenSSH_for_Windows_8.6p1 does not support FIDO keys - you'll need V8.9.0.0p1-Beta or newer. See Win32-OpenSSH Releases
Of course, these days it is as easy as running:
winget install Microsoft.OpenSSH.Beta
Windows 11 23H2 shipped with OpenSSH_for_Windows_8.6p1. Perhaps they'll upgrade it for 24H2.
Upvotes: 1