-
Notifications
You must be signed in to change notification settings - Fork 1
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
gpg: selecting card failed: No such device #1
Comments
It seems the SSH works in WSL but not on Windows, and the GPG works on Windows but not on WSL 😕 |
Hi @axieum! I tried the gpg commands in WSL2 and none of them works for me anymore 😞 I'll see if I can squeeze in some debug-time and try to find the root cause. |
I ended up at this comment which uses I managed to get |
@carlolars that's what I'm facing right now. 😢 |
@carlolars do the following changes make it work? v1.0.0...main#diff-42cb6807ad74b3e201c5a7ca98b911c5fa08380e942be6e4ac5807f8377f87fc |
Hi,
Thank you so much for this package, super simple to set up with the provided
wsl-gap.ssh
bootstrap script! 🙌I've got the
ssh-add -l
working, it successfully lists my authentication key from my YubiKey. However, thegpg --card-status
displays -wsl-gap.exe.log
Windows Version Info
WSL Version Info
[jonathan@Adair ~]$ ssh -V OpenSSH_9.1p1, OpenSSL 3.0.7 1 Nov 2022
[jonathan@Adair ~]$ gpgconf gpg:OpenPGP:/usr/bin/gpg gpgsm:S/MIME:/usr/bin/gpgsm gpg-agent:Private Keys:/usr/bin/gpg-agent scdaemon:Smartcards:/usr/lib/gnupg/scdaemon dirmngr:Network:/usr/bin/dirmngr pinentry:Passphrase Entry:/usr/bin/pinentry
The text was updated successfully, but these errors were encountered: