OpenPGP smartcard and KMail (KDE 3.4)

Thomas Hühn <[email protected]> Wed, 30 Mar 2005 16:14:33 +0200
Newsgroups gmane.comp.encryption.gpg.gpa.devel
Message-ID <[email protected]>
Hi

I've filed a bug with KMail (http://bugs.kde.org/show_bug.cgi?id=102478) and 
was told that you're the ones to ask.

I try to encrypt/sign a mail (OpenPGP/MIME) with KMail. The private key 
resides on a OpenPGP smartcard; GnuPG version is 1.4.0 from Debian unstable. 
KDE version is 3.4 (from http://pkg-kde.alioth.debian.org/kde-3.4.0/).

KMail never asks for the smartcard's PIN and hangs. Until I kill the gpg 
process (in this case "gpg --no-sk-comment --status-fd 41 --no-tty --charset 
utf8 --enable-progress-filter --command-fd 43 --sign --detach --armor -u 
0F2B3C20E772CFE9").

Using a key that isn't on the smartcard works.

Is this a misconfiguration or a bug? What can be done?

Thomas Hühn