Version: (using KDE 4.1.0) Installed from: Unlisted Binary Package OS: Linux In Kmail the passphrase promt does not show up if I try to sign or encrypt a message, just showing an error that says that the wrong passphrase has been entered. Futhermore the settings dialog for GnuPG in Kmail is just empty. The same problem occurs in Kleopatra, but Kgpg - strangely - works just fine for managing keys and encrypting files: The passphrase dialog is shown. I'm using Arch Linux with KDEmod 4.1 on x86_64 (which is completely vanilla KDE 4.1, but more modular packaged). What partly fixed the problem with the empty settings dialog was, to replace the shipped gnupg-2.0.8 with gnupg-2.0.9, but even recompiling the entire kdepim package, kdelibs and gpgme (1.1.6) did not make any difference to the rest of the problem.
You need to run gpg-agent. If your distribution doesn't set it up for you automatically, see http://kontact.kde.org/kmail/kmail-pgpmime-howto.php, and file a bug with your distribution package.
Actually I configured gpg to use gpg-agent when I was still using KDE 3.5.X, but this stopped working when I switched to KDE 4.1. gpg-agent is running and gpg uses it when I try to sign a file from command line but Kleopatra and Kmail just ignore it an don't show any passphrase dialog.
Strangely it worked after upgrading to KDE 4.1.1. Still don't know where the problem was ;-)