GnuPG dropped support of smart card version 1.0?

Ludovic Rousseau ludovic.rousseau at free.fr
Thu Dec 26 17:38:21 CET 2024


Hello,

I have an old OpenPGP card.
The card worked fine with GnuPG 1.x but not with GnuPG 2.2.45.

I rebuilt GnuPG 1.4.20 just to be sure the smart card is still working.
I get:
$ g10/gpg --card-status
Application ID ...: D2760001240101000001000000C90000
Version ..........: 1.0
Manufacturer .....: PPC Card Systems
Serial number ....: 000000C9
Name of cardholder: Ludovic Rousseau
Language prefs ...: fr
Sex ..............: male
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: not forced
Key attributes ...: 1024R 1024R 1024R
Max. PIN lengths .: 254 254 254
PIN retry counter : 3 3 3
Signature counter : 5
Signature key ....: ED60 4FF2 0CDB 4C2E C7E7  482E F804 1BD8 6EAA 19F4
Encryption key....: 31EC 9364 5B5B 3A25 6EBB  A3A1 7EB6 9A0B ED25 831F
Authentication key: A29F 58D8 0687 49B1 E1E0  3906 37A2 1DAB D121 5C09
General key info..: [none]

With GnuPG 2.2.45 I get:
$ LANG=C gpg --card-status
gpg: OpenPGP card not available: General error

I see some APDUs are exchanged but GnuPG 2 does not like my card 🙁


If the documentation is still valid then both versions 1 and 2 of the
smart card should be supported:

https://gnupg.org/documentation/manuals/gnupg/OpenPGP-Card.html
" 6.3.1 The OpenPGP card application “openpgp”

This application is currently only used by gpg but may in future also be
useful with gpgsm. Version 1 and version 2 of the card is supported. "

Am I doing something wrong?
Any chance I can use this OpenPGP card again?

Thanks

-- 
Dr. Ludovic Rousseau




More information about the Gnupg-devel mailing list