Home GnuPG
Diffusion GnuPG a0a4744bd064

scd: New option to APDU command to return the ATR as data.

Description

scd: New option to APDU command to return the ATR as data.

* scd/command.c (cmd_apdu): Add new option --data-atr.
* tools/gpg-card.c (cmd_apdu): Use that here.  Also fix the --exlen
option and do not print the statusword in atr mode.
* tools/card-call-scd.c (scd_apdu): Detect atr mode anddon't assume a
status word.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 27 2020, 11:55 AM
Parents
rG95b5a852e269: scd: Fix reading of the ATR for card type detection.
Branches
Unknown
Tags
Unknown