Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years ago1password SSH Agent + WSL2?
Was wondering if any developers has had any luck configuring the newly introduced https://developer.1password.com/docs/ssh for any WSL2 work? This thing is incredible and works seamlessly! Would love...
Former Member
3 years agoCommit signing works for me. I use the popular https://github.com/rupor-github/wsl-ssh-agent/blob/master/docs/wsl-ssh-agent-relay/npiperelay
workaround to get SSH working, and had to adjust my WSL .gitconfig
to point at the Windows binary:
[gpg "ssh"]
program = /mnt/c/Users/jonaskuske/AppData/Local/1Password/app/8/op-ssh-sign.exe
Now signing works and GitHub displays the Verified badge.
But local verification fails for some reason — git log --show-signature
displays "Could not verify signature" for each commit.
If I manually extract the commit and signature, the local verification works though:
```
git cat-file commit ga872i9 > ./commit # then delete the ---- SSH SIGNATURE part
git cat-file commit ga872i9 > ./signature # then delete everything but the signature, remove "gpgsig" and leading spaces before -----
/mnt/c/Users/jonaskuske/AppData/Local/1Password/app/8/op-ssh-sign.exe -Y verify -f ~/.ssh/allowed_signers -I mailto:mail@jonaskuske.com -n git -s ./signature < ./commit
Good "git" signature for mailto:mail@jonaskuske.com with ED25519 key ...
```