When trying to decrypt a gpg-encrypted email with your private (passphrase-protected) key, kmail does not ask for a passphrase but complains it is wrong. This can be fixed by installing >=app-crypt/pinentry-0.7.6 with USE="qt4". Probably this should be added to the kmail ebuild. Reproducible: Always Steps to Reproduce: 1. Install kmail and <app-crypt/pinentry-0.7.6, have a passphrase-protected gpg-key. 2. Let somebody send you and encrypted mail. 3. Try to decrypt it. Actual Results: Decryption fails. Passphrase was not asked for. Expected Results: Decrypting should work after asking for the passphrase.
Oh it decripts. You just have to specify your gpg agent. scarab@Ugly-Elf: ~ $ cat .gnupg/gpg-agent.conf pinentry-program /usr/bin/pinentry-qt no-grab default-cache-ttl 1800 This for example shows i am using for passwords qt3 version of pinentry dialog. Feel free to reopen if you will be still unable to make it work.
(In reply to comment #1) Well, I guess I should have said I was talking about kmail for kde4. And if you want to use pinentry with that, I guess using a qt4 version is nicer. Of course one could install a qt3 version which would require an installation of the whole qt3-stuff. But even than, kmail should at least check for pinentry build with any qt USE-flag. Because I just tested downgrading again, and as I have disabled the "qt3" USE-flag the same error occured. ls /usr/bin/pinentry* /usr/bin/pinentry /usr/bin/pinentry-curses
That is not issue for kmail only. It is dependant on pinentry/gnupg. So if you set it correctly it works, otherwise you have problems. You can use ncurses pinentry dialog, if you launch your kmail from konsole :] But i would recomend you to use the gtk-2 one :]
Yap, I guess your right. I was probably just surprised. Thanks anyway, and sorry for posting invalid bugs. Although I still thing that kde4 kmail users could be surprised by that, too. I think I'll stick with the qt4 pinentry version. ;) Cheers