diff options
| author | Werner Koch <[email protected]> | 2020-01-16 18:42:16 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2020-01-16 18:42:16 +0000 |
| commit | 718555874efcbad502112449c7d15025cb193628 (patch) | |
| tree | 23c15f36ea6a1f9f34f6511d4c34517c8c94ea0d /g10/getkey.c | |
| parent | scd:piv: Remove debug code from a recent commit. (diff) | |
| download | gnupg-718555874efcbad502112449c7d15025cb193628.tar.gz gnupg-718555874efcbad502112449c7d15025cb193628.zip | |
scd: New commands SWITCHCARD and SWITCHAPP.
* scd/app.c: Include membuf.h.
(app_switch_current_card): New.
(send_card_and_app_list): Factor code out to ...
(send_serialno_and_app_status): new.
(app_send_card_list): New.
(app_send_active_apps): New.
(app_switch_active_app): New.
* scd/command.c (cmd_switchcard): New.
(cmd_switchapp): New.
(register_commands): Register new commands.
(cmd_getinfo): New sub-commands "active_apps" and "all_active_apps".
--
These new commands allow to switch between known cards and are in
particular useful for the gpg-card tool.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/getkey.c')
0 files changed, 0 insertions, 0 deletions
