I don't know about pinentry but emacs freezes sound familiar. Have you tried 
using the workaround given in following site: 
https://omecha.info/blog/org-capture-freezes-emacs.html

Timo

On Sun, Dec 8, 2019, at 17:27, Rudolf Sykora wrote:
> Dear list,
> 
> 
> I've been using mu4e to read email, and the passwords are read using
> gpg2 and the gpg-agent (both 2.2.12). Nowadays I use emacs running in a
> terminal (somehow any graphical emacs keeps to freeze randomly when I
> use mu4e together with the org-capture feature; terminal emacs just
> works). Until recently I used to ssh -X to my box to read email (and
> used a graphical window to enter my passphrase), but now I would like to
> use mosh instead (so that hibernating and waking up my notebook does not
> interrupt the connection). But as mosh cannot be used for X forwarding,
> I need to use a non-graphical means of entering a passphrase to
> gpg-agent. On linux, I believe, there is a pinentry-tty program, but
> that one is not available on OpenBSD. Also I found mentions of
> pinentry-emacs. I tried to install the elpa pinentry package, added
> allow-emacs-pinentry to ~/.gnupg/gpg-agent.conf, but whatever I tried, I
> don't see any sign that it ever does something.  There is also a
> pinentry-ncurses program available on OpenBSD, but that one seems to not
> play well with my emacs; I see some prompt in emacs, but I cannot enter
> the needed information.  Can anybody help me to get some way to enter a
> passphrase to be relayed to gpg-agent inside emacs running in a
> terminal?
> 
> I am using emacs 26.3 on OpenBSD 6.6.
> 
> 
> Thanks for any comments!
> 
> Rudolf Sykora
> 
>

Reply via email to