diff options
| author | Werner Koch <[email protected]> | 2023-04-18 10:04:15 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2023-04-18 10:04:15 +0000 |
| commit | f7e00dc73dd0a71e21a30e2b4393a6865ef05718 (patch) | |
| tree | 56bca04727422e102ee0ba35a0c1561b85650a21 /regexp/jimregexp.c | |
| parent | ssh: Allow to prefer on-disk keys over active card keys. (diff) | |
| download | gnupg-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 'regexp/jimregexp.c')
0 files changed, 0 insertions, 0 deletions
