writes: > With 'allow-loopback-pinentry' in gpg-agent.conf and (setq > epa-pinentry-mode 'loopback) in .emacs, I enjoy reliable pass-phrase > prompting and entering in the Emacs minibuffer for quite some time (at > least since September 2016). > > Now unexpectedly, pinentry-curses started to pop-up for pass-phrase > prompting. I suspect commit 302e500087fd4cc1c5f37ec87c98e828b22aaa05 > being the cause. I did not find a way to get pinentry-loopback back and > working. Have you tried replacing (setq epa-pinentry-mode 'loopback) with (setq epg-pinentry-mode 'loopback)? If doing this solves your issue, then I think the problem with the referenced commit [1: 302e500087] is that it uses define-obsolete-variable-alias (see docstring) in epa.el after epg-pinentry-mode has already been defined in epg-config.el. [1: 302e500087]: 2018-05-23 07:53:58 -0400 Move epa-pinentry-mode to epg-config (Bug#26298) https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=302e500087fd4cc1c5f37ec87c98e828b22aaa05 In other words, should we do the following?