Git commit signing in VSCode DevContainer
I am using 1Password as SSH agent and I have Git commit signing working correctly on my machine. However, I cannot make commit signing work inside VSCode DevContainers. I get the following error message:
error: Load key "/tmp/.git_signing_key_tmp24s6i4": error in libcrypto? fatal: failed to write commit object
The container is Ubuntu-based (22.04 LTS)
1Password Version: 8.10.8
Extension Version: 2.13.0
OS Version: NixOS 23.11.20230722.12303c6
Browser: Brave
0
Comments
-
The above happens when not setting the
ssh.program
toop-ssh-sign
. If I do that, then the error changes to:error: cannot run op-ssh-sign: No such file or directory error: fatal: failed to write commit object
which is understandable, since there is no
op-ssh-sign
within the devcontainer.0
This discussion has been closed.