Home GnuPG
Diffusion GnuPG 44f977d0e332

scd: Improve reading of binary records.

Description

scd: Improve reading of binary records.

* scd/iso7816.c (iso7816_read_binary_ext): Handle the 0x6a86 SW the
same as 6b00.
* scd/apdu.c (apdu_get_atr): Modify debug messages.
* scd/app-p15.c (app_select_p15): Print FCI on error.
(read_p15_info): Clean up diag in presence of debug options.

Some cards return 6a86 instead of 6b00.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 16 2021, 8:29 PM
Parents
rG7718244168c9: scd: Fix RESET handling.
Branches
Unknown
Tags
Unknown