gnupg/scd
Werner Koch 7febb4f247
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 <wk@gnupg.org>
2019-09-05 14:07:27 +02:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am scd: Add very basic support for PIV cards. 2019-01-20 11:45:57 +01:00
apdu.c scd: Remove fallback mechanism to PC/SC. 2019-08-07 08:50:19 +09:00
apdu.h scd: Handle ack button timeout as GPG_ERR_TIMEOUT. 2019-02-21 15:16:11 +09:00
app-common.h scd: Add option --multi to the LEARN command. 2019-09-04 12:08:07 +02:00
app-dinsig.c scd: Add an re-select mechanism to switch apps. 2019-06-25 09:21:14 +02:00
app-geldkarte.c scd: Add an re-select mechanism to switch apps. 2019-06-25 09:21:14 +02:00
app-help.c scd: Simplify inclusion of app-common.h. 2019-06-21 11:42:59 +02:00
app-nks.c scd: Use a macro for the flag parameter of learn_status. 2019-09-04 10:45:29 +02:00
app-openpgp.c scd:openpgp: Avoid PIN caching issues after re-select. 2019-09-05 13:53:58 +02:00
app-p15.c scd: Use a macro for the flag parameter of learn_status. 2019-09-04 10:45:29 +02:00
app-piv.c scd:piv: Allow the keygrip as alternative to a keyref. 2019-09-05 13:03:00 +02:00
app-sc-hsm.c scd: Use a macro for the flag parameter of learn_status. 2019-09-04 10:45:29 +02:00
app.c scd: Implement auto-switching between Yubikey apps. 2019-09-05 14:07:27 +02:00
atr.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c scd: Handle CCID bwi of time extension. 2019-07-25 09:16:46 +09:00
ccid-driver.h scd: Support "acknowledge button" feature. 2018-10-11 15:41:49 +09:00
command.c scd: New sub-command cmd_has_option for GETINFO. 2019-09-04 13:50:12 +02:00
iso7816.c scd: Error code map fix for older Yubikey. 2019-07-22 10:14:21 +09:00
iso7816.h scd:piv: Implement import of private keys for Yubikeys. 2019-03-05 15:49:20 +01:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c scd: New debug flag "app". 2019-09-05 13:02:59 +02:00
scdaemon.h scd: New debug flag "app". 2019-09-05 13:02:59 +02:00