On Mar 24, 2016, at 15:45, Tom Kacvinsky
wrote: On 03/24/2016 03:37 PM, Tom Kacvinsky wrote:
I am trying to get enigmail working with thunderbird as installed from opensuse packages (and the enigmail plug-in installed via the add on manager). This is quite different from the problem Robert Schweikert had a few days ago.
Following the engimail FAQ entries on how to get GPG2 to work with it, I tracked the problem down to this:
tkacvinsky@athena:~> gpg-connect-agent <
GET_CONFIRMATION Hello World EOT ERR 67108949 No pinentry <GPG Agent>
The pinentry-program in ~/.gnupg/gpg-agent.conf is
/usr/bin/pinentry-qt4
If I change it to just pinentry (w/o -qt4), everything works fine. And even more odd, if I start the agent in debug mode (with the pinentry program being the Qt4 variant), everything works fine.
Any ideas?
May help to know that I am using Leap with GNOME.
I dig a little deeper. I built the latest version of GnuPG from source, thinking this may have been a bug that was already fixed, but I had the same problem. Launching the agent in debug mode works, as long as you use the agent to invoke a shell. If you do not invoke a shell, the issue remains. So what I have done for now is just launch the agent in debug mode and have it it invoke a shell, and then run thunderbird from that shell, and I am off on my way. The problem seems to be that gig-agent can’t invoke pinentry-qt4 because of an EOF issue. Not sure if pipes or sockets are being used, but an EOF condition seems to be what is triggering it. I do not know if this is an opneSUSE issue, or a problem with GnuPG, though I am thinking the latter, given how GniPG launches the pin entry program. I will write up a detailed bug report, but unless someone chimes in and says this should go to the GnuPG folks, I’ll file it against Leap.