Home GnuPG
Diffusion GnuPG 157f1de64e43

gpg,tools: Fix detecting OpenPGP card by serialno.

Description

gpg,tools: Fix detecting OpenPGP card by serialno.

* tools/gpg-card.c (list_openpgp): Use ->apptype to determine card's
APP.
* g10/card-util.c (get_info_for_key_operation): Likewise.
(current_card_status): Even if its SERIALNO is not like OpenPGP card,
it's OpenPGP card when app says so.
  • GnuPG-bug-id: T5100
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 26 2020, 5:49 AM
Parents
rG31def32eeed8: scd: Internal CCID driver thing only for SPR532.
Branches
Unknown
Tags
Unknown
Tasks
T5100: OpenPGP app overwrites Yubikey serial number