gnupg-pkcs11-scd icon indicating copy to clipboard operation
gnupg-pkcs11-scd copied to clipboard

gpg --card-status shows different results when used with scdaemon and gnupg-pkcs11-scd

Open alteholz opened this issue 10 months ago • 2 comments

Hi everybody,

gpg --card-status shows different results when used with scdaemon and gnupg-pkcs11-scd

For example with scdaemon it shows:

Reader ...........: Cherry GmbH SmartTerminal ST-2xxx [Vendor Interface] (21121324107485) 00 00 (...)

wheras with gnupg-pkcs11-scd it only shows:

Reader ...........: [none] (...)

I don't know whether this is related, but the debug log contains some: gnupg-pkcs11-scd[2117546]: chan_0 <- GETATTR $SIGNKEYID gnupg-pkcs11-scd[2117546]: chan_0 -> ERR 79 Invalid data <Unspecified source>

and some: Get certificate attributes failed: 179:'CKR_SESSION_HANDLE_INVALID'

(there are no keys stored on this smartcard yet, so this might be ok)

Otherwise there are only: rv=0-'CKR_OK'

Do you have any idea what went wrong? I am using gnupg-pkcs11-scd v0.10.0

alteholz avatar Apr 11 '24 15:04 alteholz