I've stated signing my git commits using SSH.
However this only seems to work with setting the
SSH_AUTH_SOCK env variable. For some reasons I cannot set that variable everywhere and have to rely on host specific
This is the error
git commit -m"test" error: Load key "/var/folders/_z/<random-string>/T//.git_signing_key_<random-string>": invalid format? fatal: failed to write commit object
Prepending the command with
SSH_AUTH_SOCK=~/.1password/agent.sock git commit -m"test" works.
This issue also applies to VSCode.
As per the git docs, to used program is
ssh-keygen. I guess it doesn't read ssh config files or at least wouldn't be aware of a host to use.
Question: Does 1Password provide a binary compatible to
ssh-keygen that I could set as
gpg.ssh.program in my gitconfig?
1Password Version: 8.7.3
Extension Version: Not Provided
OS Version: macOS
Browser:_ Not Provided