WSL2で1Passwordのssh agentを使う
#WSL2
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