You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Adding U2F/Fido2 keys to the agent from other clients #1961
From Fedora 35 WSL2 (OpenSSH 8.7p1, via npiperelay, fails):
$ ssh-add -d
Identity removed: /home/abob/.ssh/id_ecdsa_sk ECDSA-SK ((null))
$ ssh-add -l
The agent has no identities.
$ ssh-add id_ecdsa_sk
Could not add identity "id_ecdsa_sk": communication with agent failed
From KeePassXC 2.7.1 (fails):
Fedora and KeePassXC are able to add non-U2F/Fido2 keys
If I change the Fedora ssh-add client to not send a skprovider, it works:
$ ./ssh-add -l
The agent has no identities.
$ ./ssh-add ~/.ssh/id_ecdsa_sk
Identity added: /home/abob/.ssh/id_ecdsa_sk (somu)
$ ./ssh-add -l
256 SHA256:8gAXpKjrC+SzxcCkKk6xb6Rk4I+U/FyewnQy2H+zvtA somu (ECDSA-SK)
Simply adding a key with a lifetime (-t life) using ssh-add.exe shipped with Win32-OpenSSH fails:
>&'C:\Program Files\OpenSSH\ssh-add.exe'-t 60 .\.ssh\id_ed25519
Enter passphrase for .\.ssh\id_ed25519:
Could not add identity ".\.ssh\id_ed25519": communication with agent failed
Activity
ddrown commentedon Jul 3, 2022
Running windows ssh agent in debug mode gives this message:
type 25 is:
ssh-agent.c handles this with the same code path as add_identity:
support SSH2_AGENTC_ADD_ID_CONSTRAINED by treating it as SSH2_AGENTC_…
carlolars commentedon Jul 29, 2022
Simply adding a key with a lifetime (
-t life) usingssh-add.exeshipped with Win32-OpenSSH fails:support SSH2_AGENTC_ADD_ID_CONSTRAINED for sk-provider@openssh.com (#612
support SSH2_AGENTC_ADD_ID_CONSTRAINED for sk-provider@openssh.com (P…