Open red8888 opened 4 days ago
Please check in the dev container:
Does signing without Git work:
echo "test" | gpg --clear-sign
Check if the config is correct:
git config --global user.signingkey
git config --global gpg.program
Please check in the dev container:
Does signing without Git work:
echo "test" | gpg --clear-sign
Check if the config is correct:
git config --global user.signingkey git config --global gpg.program
Thanks for helping me with this, maybe I'm just doing something wrong, I keep getting that same error:
> echo "test" | gpg --clear-sign
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
test
gpg: signing failed: No such file or directory
gpg: [stdin]: clear-sign failed: No such file or directory
Shows my correct key:
git config --global user.signingkey
14:32:07.720173 git.c:463 trace: built-in: git config --global user.signingkey
XXXXXXXXXXXXXX
This command returns nothing inside dev container and on the host: git config --global gpg.program
I said before my key is password protected. I fought with a ton of pinentry settings, but nothing I do seems to work I keep getting that "No such file or directory" error in the dev container.
I have pinentry-program /opt/homebrew/bin/pinentry-mac
in my local ~/.gnupg/gpg-agent.conf
.
Please also append the Dev Containers log from when this happens. (F1
> Dev Containers: Show Container Log
)
Version: 1.95.2 (Universal) Commit: e8653663e8840adaf45af01eab5c627a5af81807 Date: 2024-11-07T11:07:22.054Z Electron: 32.2.1 ElectronBuildId: 10427718 Chromium: 128.0.6613.186 Node.js: 20.18.0 V8: 12.8.374.38-electron.0 OS: Darwin arm64 23.4.0
Dev container extension version: v0.388.0
Steps to Reproduce:
After the last fix for this I still could not get it to work. I can see the agent is working in the container and reads the keys though.
I also tried this with the latest ubuntu image with the latest gpg version and setting "use-keyboxd" in
~/.gnupg/common.conf
in the dev container. It doesn't matter what it finds the right key but throws "No such file or directory".I should add my gpg key is password protected.
Does this issue occur when you try this locally?: Yes/No Does this issue occur when you try this locally and all extensions are disabled?: Yes/No