Diffusion GnuPG 9f148360a2bf

scd: Add heuristics to identify cardtype.

Authored by gniibe on Aug 27 2020, 7:32 AM.

Description

scd: Add heuristics to identify cardtype.

* scd/app-common.h (cardtype_t): Add CARDTYPE_GNUK and
CARDTYPE_ZEITCONTROL.
* scd/app.c (strcardtype): Handle CARDTYPE_GNUK and
CARDTYPE_ZEITCONTROL.
(app_new_register): Detect Gnuk and Zeit Control implementation
by examining its ATR string.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Committed
gniibeAug 27 2020, 7:32 AM
Parents
rGaf189be481df: scd: Add condition for VERIFY with 0x82.
Branches
Unknown
Tags
Unknown