(sorry, German only) and then pinentry-qt4 worked as expected. Only after reading the tutorial I understood that in an up-to-date KDE4 system, the gpg-agent is automatically started if it is enabled in ~/.gnupg/gpg.conf or ~/.gnupg/options at login time. I also changed the content of ~/.gnupg/gpg-agent.conf to
I just had the first problem (Kubuntu 10.10). I believe I followed outdated instructions on the web. I then followed
http:// wiki.aptosid. de/index. php/Verschlüsselung_ in_kmail_ einrichten
(sorry, German only) and then pinentry-qt4 worked as expected. Only after reading the tutorial I understood that in an up-to-date KDE4 system, the gpg-agent is automatically started if it is enabled in ~/.gnupg/gpg.conf or ~/.gnupg/options at login time. I also changed the content of ~/.gnupg/ gpg-agent. conf to
# ~/.gnupg/ gpg-agent. conf pinentry- qt4
pinentry-program /usr/bin/
no-grab
default-cache-ttl 86400
max-cache-ttl 86400