WSL2で1Passwordのssh agentを使う
Use the 1Password SSH agent with WSL | 1Password Developer
に従えばよい。
WSLインスタンスで
ssh.exe
が見つからない場合はパスの指定が足りていない。
refs.
Gitのコミット署名をするには
ドキュメント
に従うだけでよい。
WSL2とMacで
gpg.ssh.program
の値が変わるので
git config --file=/path/to/local.gitconfig gpg.ssh.program ...
などとするとよい。
無事に署名が有効になるとGitHubでVerifiedと表示される:
https://github.com/aereal/dotfiles/commit/efcf090c3e5430478c53d083dc2f165412bbc3df