YubiKey-Guide
YubiKey-Guide copied to clipboard
weasel-pageant EOL
According to https://github.com/vuori/weasel-pageant it is not maintained anymore. Is there any guide how to use any of the mentioned alternatives?
@MTRNord have you found an alternative? We should probably clean up EOL software links.
I used https://github.com/BlackReloaded/wsl2-ssh-pageant for a while but either I didnt set it up correct or something broke (as seen in issue 25 of it) so not sure.
Just finished following this guide and can confirm that https://github.com/BlackReloaded/wsl2-ssh-pageant works for me. I followed the steps in the guide. Once place I had to change something was in the Windows gpg-agent.conf
enable-putty-support
enable-ssh-support
use-standard-socket
So the flow I took was:
- Edit Windows side gpg-agent
-
gpg-connect-agent killagent /bye
&gpg-connect-agent /bye
on Windows. - Pull in the yubikey public key and edit for trust
- Install the BlackReloaded/wsl2-ssh-pageant per their directions
-
apt install socat iproute2
- Download latest version from release page into ~/bin on WSL side (WSL can run Windows exe so no need to put it in Windows land).
- Setup bash/zsh with provided snippets
- I restarted WSL2 just to make sure I had a clean terminal environment
-
I tested it with gpg --card-status, ssh and gpg. Signed a git commit and pushed it to GitHub via ssh. I got the Kleopatra pinentry pop up and had to touch the yubikey as I configured it on Windows.
I found something better. https://github.com/rupor-github/win-gpg-agent
I got it working with GPG4Win (because standard gnupg doesn't seem to work for me with yubikey). I followed the README plus made two changes.
https://github.com/rupor-github/win-gpg-agent/issues/15
Would someone like to update the guide if you've got a working alternative?
is there someone i can hop on a microsoft team/discord to help me step by step, i can't solve this ssh authentication from windows command prompt to servers
Resolving to inactivity. Windows users, please send PRs.