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

KaiAng023595's avatar
KaiAng023595
New Contributor
14 days ago

Trouble signing git commits from docker container

I am trying to set up a Linux dev container on my Windows machine. I am using VSCode Dev Containers which is doing some SSH magic that was able to get unsigned git commits to work. However, when I try to make signed commits, I get the following error:

`error: cannot run [USER_HOME_DIRECTORY]\AppData\Local\1Password\app\8\op-ssh-sign.exe: No such file or directory`

I saw this this other community post of a similar nature. I tried my best to follow along by:

  • Set `SSH_AUTH_SOCK` environment variable; this didn't have explicit instructions for Windows
  • Remove `[gpg "ssh"]` from `.git_config`
  • Rebuild the docker image

But doing so also did not resolve the issue, instead bringing up this new error:

`error: Couldn't find key in agent?`

Would someone be able to help me?

No RepliesBe the first to reply