aboutsummaryrefslogtreecommitdiffstats
path: root/g10/packet.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-09-05 12:05:05 +0000
committerWerner Koch <[email protected]>2019-09-05 12:07:27 +0000
commit7febb4f2476742936b829424ad23df662b37f4b4 (patch)
treeffde77421e86db994114ad4fe160369781a24f9e /g10/packet.h
parentscd:openpgp: Avoid PIN caching issues after re-select. (diff)
downloadgnupg-7febb4f2476742936b829424ad23df662b37f4b4.tar.gz
gnupg-7febb4f2476742936b829424ad23df662b37f4b4.zip
scd: Implement auto-switching between Yubikey apps.
* scd/app.c (apptype_from_keyref): New. (maybe_switch_app): Add arg 'keyref' and use this also for switching. Change all callers to pass a keyref if needed. -- A drawback of this auto-switching is that the PIN cache of the cards are cleared. That could be mitigated by having our own cache but we always tried to avoid that. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/packet.h')
0 files changed, 0 insertions, 0 deletions