Projects onedev server Issues #1089
#1089  sk-ssh-ed25519@openssh.com support
Open
Kate opened 11 months ago

I have tested the same setup with RSA key works fine and sk-ssh-ed25519@openssh.com doesnt, resulting in a Permission denied (publickey) for sk-ssh-ed25519@openssh.com keys. Where my public key is properly added to the account. Using newest server version. Before updating the issue still persisted (version 7.7.11)

Robin Shen commented 11 months ago

How do you generate this key? I tried ssh-keygen -t ed25519-sk on Mac and it failed with unknown key type ed25519-sk.

Kate commented 11 months ago

Hey, the SK is for a security key, in my case im using a yubikey so I followed their wiki (this key works fine in github) Here the wiki page: https://developers.yubico.com/SSH/Securing_SSH_with_FIDO2.html

To note openssh 8.2 or higher is required for ed25519-sk to work, so if onedev does not support that standard it wont works

Robin Shen changed fields 2 months ago
Name Previous Value Current Value
Type
Bug
Improvement
Robin Shen changed title 2 months ago
Previous Value Current Value
sk-ssh-ed25519@openssh.com Not working
sk-ssh-ed25519@openssh.com support
issue 1 of 1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
onedev/server#1089
Please wait...
Page is in error, reload to recover