El día Friday, December 25, 2015 a las 10:22:01PM -0800, Ian Zimmerman escribió:
> On 2015-12-26 06:32 +0100, Matthias Apitz wrote:
>
> > > Looks like raw vs. cooked mode issue. Should be fixable with stty.
> >
> > Ofc, but I think, this must be done inside mutt itsef, which hands over
> > the tty in this state
>
> Ah, right. Do you see the "Invoking GPG" message also in the second
> (good) case? If not, maybe the code issuing it is responsible.
>
> I myself use the "obsolete" pre-gpgme code, so I can't help more with
> this, sorry.
I fixed it with:
$ cat ~/.gnupg/gpg-agent.conf
pinentry-program /home/guru/pinentry.sh
$ cat /home/guru/pinentry.sh
#!/bin/sh
stty cooked < $GPG_TTY
/usr/local/bin/pinentry $*
stty raw < $GPG_TTY
Thanks
matthias
--
Matthias Apitz, ✉ [email protected], 🌐 http://www.unixarea.de/ ☎
+49-176-38902045