From 3f8cb9b33949494202fefaa8901ab252467cc1f1 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 4 Jan 2024 16:29:33 +0100 Subject: 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 --- common/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/util.h') 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. */ -- cgit v1.2.3