As stated in a gentoo-user list email, pinentry-gtk-2 is missing since some months[*]. The binary was located under /usr/bin/pinentry-gtk-2.
This causes claws-mail to be unable to decrypt gpg-encrypted emails. A look into the claws-mail logs when clicking on an encrypted emails shows this:
messageview.c:1400:decrypting message part
sgpgme.c:469:data 0x7ffc6431b2f0 (11068 7632)
prefs_gpg.c:671:Can't disable gpg agent (no GPG_AGENT_INFO)
sgpgme.c:509:can't decrypt (No pinentry)
pgpmime.c:343:plain is null!
This results in being unable to read the encrypted email in claws-mail. A workaround for me was to create a symlink from pinentry-gnome3 to pinentry-gtk-2 via "ln -s /usr/bin/pinentry-gnome3 /usr/bin/pinentry-gtk-2"
After doing that, when clicking on an encrypted email in claws-mail, a popup opened where I could enter my gpg-key password and I could read the decrypted email.
Steps to Reproduce:
1. Install app-crypt/gnupg, mail-client/claws-mail (+pgp), app-crypt/pinentry (+gtk) and app-crypt/gcr (+gtk)
2. Open claws-mail, configure it correctly to decrypt emails via gpg
3. Click on an encrypted email
A warning shows up in the mail window above the email text, saying "Couldn't decrypt: No pinentry"
A popup should open up asking me to enter my gpg-key password.
"ln -s /usr/bin/pinentry-gnome3 /usr/bin/pinentry-gtk-2"
as root, a popup shows up when clicking on an encrypted email where I can enter my gpg-key password.
Can we have emerge --info mail-client/claws-mail for completeness?
Created attachment 692940 [details]
Output of my local "emerge --info mail-client/claws-mail" command