I had engimail working fine for about a year, then this error started coming up and won't let me read any encrypted mail. I followed the troubleshooting instructions here, but am still not able to fix it. Pinentry loads fine in the terminal, but no matter what I do, it doesn't affect the behavior of enigmail. Here is the relevant config and output:
Although I couldn't find any of the noted sign-posts in the error log, I went forward with the debugging instructions and had the following output from the suggested commands:
zad@beehive:~/Downloads$ pinentry <<EOT
> SETDESC Hello World
> CONFIRM
> EOT
No $DBUS_SESSION_BUS_ADDRESS found, falling back to curses
OK Pleased to meet you
OK
S ERROR gnome3.isatty 83918950
ERR 83918950 Inappropriate ioctl for device <Pinentry>
zad@beehive:~/Downloads$ gpg-connect-agent <<EOT
> GETINFO version
> EOT
D 2.2.12
OK
zad@beehive:~/Downloads$ gpg-connect-agent <<EOT
> GET_CONFIRMATION Hello
> EOT
ERR 83918950 Inappropriate ioctl for device <Pinentry>
I have both pinentry-gnome3 and pinentry-curses. In the above code, it seems to try and call gnome3, but fails and defaults to curses. The same thing happens in the terminal when I call just pinentry-gnome3.
I also tried looking up the "ERR 83918950 Inappropriate ioctl for device <pinentry>," but none of the discussions I found on this error related to engimail or this specific issue.</pinentry>
Any help you all can offer would be much appreciated!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can't use pinentry-curses with Enigmail, you have to use pinentry-qt or pinentry-gtk.
The reason is that pinentry-curses only works if GnuPG is running from a terminal window and can access that terminal. But when used from within Thunderbird/Enigmail, then GnuPG will not be launched in a terminal, and thus pinentry-curses is bound to fail.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had engimail working fine for about a year, then this error started coming up and won't let me read any encrypted mail. I followed the troubleshooting instructions here, but am still not able to fix it. Pinentry loads fine in the terminal, but no matter what I do, it doesn't affect the behavior of enigmail. Here is the relevant config and output:
gpg-agent.conf
Enigmail debug log
Although I couldn't find any of the noted sign-posts in the error log, I went forward with the debugging instructions and had the following output from the suggested commands:
I have both pinentry-gnome3 and pinentry-curses. In the above code, it seems to try and call gnome3, but fails and defaults to curses. The same thing happens in the terminal when I call just pinentry-gnome3.
I also tried looking up the "ERR 83918950 Inappropriate ioctl for device <pinentry>," but none of the discussions I found on this error related to engimail or this specific issue.</pinentry>
Any help you all can offer would be much appreciated!
You can't use pinentry-curses with Enigmail, you have to use pinentry-qt or pinentry-gtk.
The reason is that pinentry-curses only works if GnuPG is running from a terminal window and can access that terminal. But when used from within Thunderbird/Enigmail, then GnuPG will not be launched in a terminal, and thus pinentry-curses is bound to fail.
Thanks, Patrick! Changing the pinentry-program to gtk did the trick.