gpg-2.1.6 scdaemon: cannot disable OpenPGP application
Marek Szuba
scriptkiddie at wp.pl
Tue Jul 7 15:40:35 CEST 2015
Hello,
I have run into problems trying to get GnuPG (version 2.1.6, running
under Linux/amd64) to talk to my SmartCard-HSM. The card has been
working perfectly so far, ditto the reader (indeed, I can see in the
logs that the latter is seen by scdaemon). Judging from the fact the
string sd-hsm does appear inside the scdaemon binary, this application
should - as expected - be supported. Okay, here goes:
$ gpg --card-status
[the reader gets detected and its LED blinks once]
scdaemon[2513] can't select application 'openpgp': Not supported
gpg: OpenPGP card not available: Not supported
Makes sense, this is not an OpenPGP card so no wonder the application
cannot be selected. I've killed the running instance of scdaemon and in
order to prevent it from getting stuck on this in the future, added
disable-application openpgp
to ~/.gnupg/scdaemon.conf.
The problem is, I still get exactly the same error with that line in the
config... Messing with debug levels hasn't revealed anything
enlightening, merely confirming that scdaemon happily keeps on trying to
use the supposedly-disabled application. Running gpg as root has not
helped either.
I would very much appreciate any help you could offer me with solving
this problem. Should you require any more information, please let me know!
Yours sincerely,
--
MS
More information about the Gnupg-users
mailing list