aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-04-18 10:04:15 +0000
committerWerner Koch <[email protected]>2023-04-18 10:04:15 +0000
commitf7e00dc73dd0a71e21a30e2b4393a6865ef05718 (patch)
tree56bca04727422e102ee0ba35a0c1561b85650a21 /g10/call-agent.h
parentssh: Allow to prefer on-disk keys over active card keys. (diff)
downloadgnupg-f7e00dc73dd0a71e21a30e2b4393a6865ef05718.tar.gz
gnupg-f7e00dc73dd0a71e21a30e2b4393a6865ef05718.zip
scd: On a Yubikey re-select the last app after the use of APDU.
* scd/app-common.h (struct card_ctx_s): Add maybe_check_aid flag. * scd/command.c (cmd_apdu): Set it. * scd/app.c (check_external_interference): Consult this flag. (maybe_switch_app): Do a re-select if this flag is set. -- After the gpg-card tool has issued a Yubikey specific command the current application is not anymore correctly selected. This then results in all kind of errors. We detect this now and try to re-select the last app.
Diffstat (limited to 'g10/call-agent.h')
0 files changed, 0 insertions, 0 deletions