SOLVED:
Ok, so here’s what I have. I’m not a fan of GNOME. Just not the interface for me. So I moved to KDE. After realizing that Thunderbird was not ever asking me for my Librem Key PIN I started looking at the components of GnuPG that are responsible for bringing up the PIN gui. I had set up the gpg-agent.conf file correctly but discovered that the default PureOS setup actually does a symlink in /usr/bin/pinentry and /usr/bin/pinentry-x11. It points to /etc/alternatives/pinentry and /etc/alternatives/pinentry-x11 which are also symlinked back to /usr/bin/pinentry-gnome3.
This was the issue. KDE needs to use pinentry-qt and because these are symlinked to pinentry-gnome3, my gpg-agent.conf file was never being read (or followed). So I changed the symlink in /etc/alternatives/pinentry / pinentry-x11 to /usr/bin/pinentry-qt and everything with Thunderbird is working now.
I hope this can help someone else who may be experiencing the same issue if they move to KDE.
** Original Post **
Has anyone gotten GPG from the Librem Key to work with thunderbird? I’ve got it set up with my GPG from the librem key but when I go to send the email it fails. If I go back and choose not to sign the email (just encrypt) the email will send but I’m not able to decrypt it. I’ve imported my public key into the PGP key manager within Thunderbird.
As a test I imported my private key from my backup drive and using that seems to work just fine so the problem is isolated to the Librem Key. I’m not sure where I went wrong so if anyone can point me to the right direction.
ADDITIONAL INFO: To be sure the librem key was working I decided to do file encryption/decryption just to see if that worked. I ran:
echo “test” | gpg --encrypt -r (my email address) > out.pgp
then
gpg --decrypt -v out.pgp
both commands worked. So I believe this is a problem getting Thunderbird to read from the Librem Key.
ERROR LOG FROM THUNDERBIRD:
mimeEncrypt.js: caught exception: Error
Message: ‘failure in finishCryptoEncapsulation, exitCode: -1’
File: chrome://openpgp/content/modules/mimeEncrypt.jsm
Line: 580
Stack: finishCryptoEncapsulation@chrome://openpgp/content/modules/mimeEncrypt.jsm:580:15
createMessageFile@resource:///modules/MimeMessage.jsm:86:27
OBSERVATION:
When Thunderbird accesses my key (the red light is on) it never asks me for a PIN. I would expect it to during signing.