gpg-agent, pinentry and Emacs

Ralph Seichter abbot at
Thu Nov 14 00:47:37 CET 2019

* raf via Gnupg-users:

> Wherever it needs to be to get added to the gpg command line when
> invoked from within emacs.

As far as I can tell, that's what epa-pinentry-mode is used for (which I
tried unsuccessfully, as stated in my OP). I think I have tried every
EasyPG trick and workaround that I could find searching the Net, but
still no dice.

> Or as a setting in gpg's config file (but then it would take effect
> always which you probably wouldn't want).

I just tried that as well. Adding "pinentry-mode loopback" to gpg.conf
unfortunately causes Emacs to no longer attempt to decrypt messages.

/me scratches head.


More information about the Gnupg-users mailing list