Just installed Thunderbird backport in Debian 8.
tried to read an encrypted mail, got the warning, that some trouble in communication with gpg occur.
Read the wiki site gpg with this topic
Did some investigation.
I am sure, that in debian 8 the package "libpam-gnome-keyring" must be unistalled. If installed, this will result in a gnome-daemon started from PAM to integrate gnome-keyring in communication.
Doing so, results in a pinentry window before reading. This is what we want to see.
But this does not work for me:
$ sudo dpkg-divert --local --rename --divert /etc/xdg/autostart/gnome-keyring-gpg.desktop-disable --add /etc/xdg/autostart/gnome-keyring-gpg.desktop
Should stop the gpg integration in gnome keyring.
But after this two steps I got still this in the log:
gpg: WARNING: The GNOME keyring manager hijacked the GnuPG agent.
gpg: WARNING: GnuPG will not work properly - please configure that tool to not interfere with the GnuPG system!
[GNUPG:] ERROR check_hijacking 33554509
gpg: verschlüsselt mit 1024-Bit ELG Schlüssel,
[GNUPG:] DECRYPTION_INFO 2 9
[GNUPG:] PLAINTEXT 74 1493482504DECGRU