diff options
| author | Werner Koch <[email protected]> | 2019-09-05 12:05:05 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2019-09-05 12:07:27 +0000 |
| commit | 7febb4f2476742936b829424ad23df662b37f4b4 (patch) | |
| tree | ffde77421e86db994114ad4fe160369781a24f9e /g10/parse-packet.c | |
| parent | scd:openpgp: Avoid PIN caching issues after re-select. (diff) | |
| download | gnupg-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/parse-packet.c')
0 files changed, 0 insertions, 0 deletions
