Home GnuPG
Diffusion GnuPG 46a3de4b5acb

card: Take care of removed and re-inserted cards.

Description

card: Take care of removed and re-inserted cards.

* tools/gpg-card.c (cmd_list): Take care of the need_sn_cmd flag.
(cmd_factoryreset): Clear that flag.
(dispatch_command): Set flag after a reset and after a
CARD_NOT_PRESENT error.

Details

Provenance
wernerAuthored on May 27 2020, 11:27 AM
Parents
rGc2a47475ba0f: card: Implement UID command and print capabilities.
Branches
Unknown
Tags
Unknown