YubiKey-Guide icon indicating copy to clipboard operation
YubiKey-Guide copied to clipboard

weasel-pageant EOL

Open MTRNord opened this issue 3 years ago • 6 comments

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 avatar May 28 '21 10:05 MTRNord

@MTRNord have you found an alternative? We should probably clean up EOL software links.

drduh avatar Oct 24 '21 18:10 drduh

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.

MTRNord avatar Oct 24 '21 18:10 MTRNord

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.

metcalfc avatar Oct 25 '21 23:10 metcalfc

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

metcalfc avatar Nov 05 '21 04:11 metcalfc

Would someone like to update the guide if you've got a working alternative?

drduh avatar Apr 09 '22 18:04 drduh

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

etd21 avatar Jun 24 '22 02:06 etd21

Resolving to inactivity. Windows users, please send PRs.

drduh avatar Oct 15 '23 23:10 drduh