Candid’s brain

GnuPG not finding pinentry

This is the output of gpg-sign that I’ve recently got:

You need a passphrase to unlock the secret key for
user: "Candid Dauth "
1024-bit DSA key, ID F76ADFE9, created 2005-04-10

gpg: problem with the agent: No pinentry
gpg: no default secret key: General error
gpg: [stdin]: clearsign failed: General error

Hit return to continue.

The pinentry setting in my ~/.gnupg/gpg-agent.conf looked this way:

pinentry-program /usr/bin/pinentry-qt -g

The fix is easy: just remove the -g flag, as GPG newly seems to look for a file called “pinentry-qt -g”, which of course does not exist.

Filed under bugs

Comments are closed.