On Sun, Mar 03, 2019 at 05:49:33PM -0500, Derek Schrock wrote:
While looking at this FreeBSD PR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234095 I noticed there was an problem with pinentry-tty and gpgme (crypt_use_gpgme).
Mutt doesn't support the pinentry-tty.
Was the mangling of returns and control-j fixed in 2016 (e21b445e40502) or was the hard redraw there to fix something else? Maybe a possible regression here?
No this was to fix the screen when using pinentry-curses. The screen needed to be redrawn afterwards.
I use gpg-agent/pinetry with offlineimap and it doesn't have any issues with a pinentry-tty prompt. So maybe it's a curses program (mutt) forking out to a tty program?
Yes, to support the tty pinentry, we would have to exit curses (endwin) every place a prompt could occur.
-- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature