Open Stoppedpuma opened 4 weeks ago
That is a tricky one.
To sum up the issue,
~/.gnupg
, /etc/apt/trusted.gpg.d/
, /etc/pacman.d/gnupg/
, any other user keyring you have).~/.gnupg
). So the first time you use gpg, it should be ok.pacman//gpg
)I currently don't know how to fix this in a correct way.
Not sure which profile causes this as setting gpg* to complain doesn't fix this. I encountered this with lazygit and was unable to commit until a teardown. Logs don't show anything, just this from journalctl:
gpg-agent[58120]: command 'PKSIGN' failed: No pinentry gpg-agent[58120]: failed to read the secret key gpg-agent[58120]: failed to unprotect the secret key: No pinentry gpg-agent[58120]: can't connect to the PIN entry module '/usr/bin/pinentry': End of file gpg-agent[58120]: SIGHUP received - re-reading configuration and flushing cache