diff options
author | Werner Koch <[email protected]> | 2020-01-16 20:28:45 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-01-16 20:28:45 +0000 |
commit | bd85f9232ad639d4acba443272147c4fc01b1b65 (patch) | |
tree | 834ec0308c89077102341e4ec492de6f8cd5841a /g10/gpgv.c | |
parent | scd: New commands SWITCHCARD and SWITCHAPP. (diff) | |
download | gnupg-bd85f9232ad639d4acba443272147c4fc01b1b65.tar.gz gnupg-bd85f9232ad639d4acba443272147c4fc01b1b65.zip |
card: Allow switching of cards and applications.
* tools/card-call-scd.c (struct card_cardlist_parm_s): Add field
with_apps.
(card_cardlist_cb): Handle the new with_apps flag.
(scd_switchcard): New.
(scd_switchapp): New.
(scd_applist): New.
(scd_serialno): Pass --all also in --demand mode.
* tools/gpg-card.c (cmd_list): Simplify switching of cards. Add
switching of alls. Print a list of apps per card.
--
Note that the output format of "list --card" slightly changes: The
current card is indicated with an asterisk. That should not harm any
robust parsers which might already be in use. It is anyway a
development version.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/gpgv.c')
0 files changed, 0 insertions, 0 deletions