Signing back into the Community for the first time? You'll need to reset your password to access your account.  Find out more.

Forum Discussion

robertodr's avatar
robertodr
New Contributor
2 years ago

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

  • robertodr's avatar
    robertodr
    New Contributor

    The above happens when not setting the ssh.program to op-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.