gpa.exe hungs when click on "smartcards" AND scdaemon cannot recognise SC-HSM

Minas Argyrou minasargyrou at outlook.com
Wed Aug 17 09:15:33 CEST 2022


Hello,

I believe I have found the cause of the problem with the GnuPG. When removing 
the AES key from the card, the error about the invalid PrKDF disappeared, 
which I believe is progress.

When I try "scdaemon --server" and then type "learn", I get the following:

scdaemon[xxxxx]: detected reader 'ACS CCID USB Reader 0'
scdaemon[xxxxx]: reader slot 0: not connected
scdaemon[xxxxx]: pcsc_control failed: invalid PC/SC error code (0x1)
scdaemon[xxxxx]: pcsc_vendor_specific_init: GET_FEATURE_REQUEST failed: 65547
scdaemon[xxxxx]: reader slot 0: active protocol: T1
scdaemon[xxxxx]: slot 0: ATR=xxxxxxxxxxxxxx
scdaemon[xxxxx]: DBG: PrKDF C401: id=xxxxxxxxxxxxxx keyref=0x01 keysize=528 
usage=sign,derive
scdaemon[xxxxx]: DBG: CDF C401: id=xxxxxxxxxxxxxx fid=CE01
scdaemon[xxxxx]: DBG: PrKDF C402: id=xxxxxxxxxxxxxx keyref=0x02 keysize=2048 
usage=decrypt,sign,sign_recover,unwrap
scdaemon[xxxxx]: DBG: CDF C402: id=xxxxxxxxxxxxxx fid=CE02
S READER ACS CCID USB Reader 0
S SERIALNO xxxxxxxxxxxxxx
INQUIRE KNOWNCARDP xxxxxxxxxxxxxx


I then try "gpg --card-edit --expert" and then "admin" and "list"

Reader ...........: ACS CCID USB Reader 0
Application ID ...: xxxxxxxxxxxxxx
Application type .: Unknown


GnuPG is now recognising the private keys and can parse the PrKDF record but 
still cannot use the keys. Any thoughts on this?

Thanks in advance!

Argyrou Minas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6027 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20220817/a617c41d/attachment-0001.bin>


More information about the Gnupg-users mailing list