Home GnuPG
Diffusion GnuPG 3f8cb9b33949

scd: Add support for SCE 7.0

Description

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.

Details

Provenance
wernerAuthored on Jan 4 2024, 4:29 PM
Parents
rG4c04143d8137: gpg: Choose key from inserted card over a non-inserted card
Branches
Unknown
Tags
Unknown
Tasks
T6919: Add support for smartcafe cards