Re: gpgme pinentry-tty return mangling and cnt-j

2019-03-09 Thread Derek Schrock
On Wed, Mar 06, 2019 at 02:19:51AM EST, Werner Koch wrote: > On Mon, 4 Mar 2019 09:14, ke...@8t8.us said: > > > Yes, to support the tty pinentry, we would have to exit curses > > (endwin) every place a prompt could occur. > > Actually the endwin could be called on demand by hooking into the > PI

Re: gpgme pinentry-tty return mangling and cnt-j

2019-03-09 Thread Derek Schrock
On Sat, Mar 09, 2019 at 09:42:57PM EST, Derek Schrock wrote: > However, there appears to be a race issue with the callback method. > While trying to test the value string to see if it's second word is > "tty" pinentry would execute before endwin. I simulated this with a > sleep() before endwin. S