please help "No pinentry"

Robert J. Hansen rjh at sixdemonbag.org
Thu Aug 31 17:04:11 CEST 2017


> Hello, Dear Creators :) 

I'm not a creator (just a FAQ maintainer), but maybe I can shed some
light on your troubles.

> But when I get encrypted message from him I can’t
> decrypt it. It does’t ask my passphrase. It asked when I had GPG Tools,
> but even with asked passpharase with GPG Tools being installed i didn’t
> get a decrypted message

I think I might know the problem.  If I recall correctly, GPGTools ships
with its own custom pinentry dialog.  When you installed GPGTools, it
added a line in a configuration file telling GnuPG to use its custom
pinentry dialog; when you uninstalled GPGTools, that custom pinentry
dialog went away but the configuration file is still changed.  So GnuPG
is trying to use a pinentry dialog that doesn't exist.

>From Terminal, open up ~/.gnupg/gpg-agent.conf in your text editor of
choice.  Look for a line called "pinentry-program" and place a hashmark
("#") in front of that line.  This will cause gpg-agent to skip that
line when reading the configuration file.

Then, from a Terminal window:

$ killall gpg-agent

... and try again to decrypt a message.



More information about the Gnupg-users mailing list