diff options
author | Werner Koch <[email protected]> | 2024-01-04 15:29:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-01-04 15:29:33 +0000 |
commit | 3f8cb9b33949494202fefaa8901ab252467cc1f1 (patch) | |
tree | 3af38e6e2a1694cb215aa19e4a006d982679e57a /scd/app-common.h | |
parent | gpg: Choose key from inserted card over a non-inserted card (diff) | |
download | gnupg-3f8cb9b33949494202fefaa8901ab252467cc1f1.tar.gz gnupg-3f8cb9b33949494202fefaa8901ab252467cc1f1.zip |
scd: Add support for SCE 7.0
* scd/app-common.h (CARDTYPE_SCE7): New.
* scd/app.c (strcardtype): Support it.
(atr_to_cardtype): New.
(app_new_register): Try to get the cardtype from atr_to_cardtype.
* scd/app-piv.c (app_select_piv): Tweak for SCE7. Add general method
to construct a S/N from the Card UUID.
--
The test cards I have are rsa2048 with X.509 certificates. I don't
have the entire chain but loading the certificates work. For testing
I created an OpenPGP key from the keys and tested signing and
decryption.
GnuPG-bug-id: 6919
Diffstat (limited to 'scd/app-common.h')
-rw-r--r-- | scd/app-common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scd/app-common.h b/scd/app-common.h index 988cddf3f..f4035f766 100644 --- a/scd/app-common.h +++ b/scd/app-common.h @@ -56,8 +56,8 @@ typedef enum CARDTYPE_GENERIC = 0, CARDTYPE_GNUK, CARDTYPE_YUBIKEY, - CARDTYPE_ZEITCONTROL - + CARDTYPE_ZEITCONTROL, + CARDTYPE_SCE7 /* G+D SmartCafe Expert 7.0 */ } cardtype_t; /* List of supported card applications. The source code for each |