Skip to content

SSH 无法使用 FIDO2 resident keys #10

Closed Answered by z4yx
z4yx asked this question in Q&A
Discussion options

You must be logged in to vote

结论 SSH 需要使用 FIDO 2.1 的 Credential Management 和 Credential Protection 特性,而当前固件(v1.5.2)只支持 FIDO 2.0,故无法使用。新版本预计会支持相关特性。

相关报错日志:

root@a1f762d739fd:/# ssh-keygen -vvv -t ed25519-sk -Oresident -Oapplication=ssh:lesser -f ~/.ssh/ed25519_sk_lesser
Generating public/private ed25519-sk key pair.
You may need to touch your authenticator to authorize key generation.
Enter PIN for authenticator: 
debug3: start_helper: started pid=3763
debug3: ssh_msg_send: type 5
debug3: ssh_msg_recv entering
debug1: start_helper: starting /usr/lib/openssh/ssh-sk-helper 
debug1: sshsk_enroll: provider "internal", device "(null)", application "ssh:lesser", userid "(null)", flags 0x21, challenge len 0 with-pin
debug1: …

Replies: 2 comments 1 reply

Comment options

z4yx
Jan 8, 2022
Maintainer Author

You must be logged in to vote
1 reply
@davy-ikv
Comment options

Answer selected by z4yx
Comment options

z4yx
Nov 1, 2023
Maintainer Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants