Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIDO2/ed25519-sk key reported as invalid #1131

Open
ofekd opened this issue Oct 18, 2024 · 0 comments
Open

FIDO2/ed25519-sk key reported as invalid #1131

ofekd opened this issue Oct 18, 2024 · 0 comments

Comments

@ofekd
Copy link

ofekd commented Oct 18, 2024

I am using an ed25519-sk key as per the Yubikey docs:

https://developers.yubico.com/SSH/

It works fine running the ssh command. Relevant logs suggest the SSH used may be too old:

D, [2024-10-18T04:49:05.793655 #998330] DEBUG -- net.ssh.transport.server_version[7f8]: local is `SSH-2.0-Ruby/Net::SSH_7.3.0 x86_64-linux'
D, [2024-10-18T04:49:05.882180 #998330] DEBUG -- net.ssh.transport.server_version[7f8]: remote is `SSH-2.0-OpenSSH_9.6p1 Ubuntu-3ubuntu13.5'
....
E, [2024-10-18T04:49:06.449335 #998330] ERROR -- net.ssh.authentication.key_manager[85c]: could not load public key file `/<redacted>/.ssh/id_ed25519_sk.pub': Net::SSH::Exception (public key at /<redacted>/.ssh/id_ed25519_sk.pub is not valid)

I wonder if it could be updated, if I could update it myself locally, or maybe use the ssh version installed on my computed.

I do not use ssh-agent.

As a workaround, I've reverted to a regular key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant