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 /common/util.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 'common/util.h')
| -rw-r--r-- | common/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/util.h b/common/util.h index fff2e6e83..803ab3d5c 100644 --- a/common/util.h +++ b/common/util.h @@ -392,7 +392,7 @@ int parse_compatibility_flags (const char *string, unsigned int *flagvar, /*-- Simple replacement functions. */ /* We use the gnupg_ttyname macro to be safe not to run into conflicts - which an extisting but broken ttyname. */ + with an existing but broken ttyname. */ #if !defined(HAVE_TTYNAME) || defined(HAVE_BROKEN_TTYNAME) # define gnupg_ttyname(n) _gnupg_ttyname ((n)) /* Systems without ttyname (W32) will merely return NULL. */ |
