aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-keyboxd.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-02-18 19:12:46 +0000
committerWerner Koch <[email protected]>2020-02-19 07:48:55 +0000
commitee911df979e9b53787162367865ca24682adae6e (patch)
tree9c4f453f17ebfdebf847d0acd713e79b394f305e /g10/call-keyboxd.c
parentgpg: Fix default-key selection when card is available. (diff)
downloadgnupg-ee911df979e9b53787162367865ca24682adae6e.tar.gz
gnupg-ee911df979e9b53787162367865ca24682adae6e.zip
card: New option --info for command list and select by s/n.
* tools/gpg-card.c (cmd_list): add option --info. Factor soem code out to ... (print_card_list): new. -- This change allows to use the printed s/n to sleect another card instead of using the index. For example: gpg/card> l --cards 0* D276000124010200FFFE50FF6E060000 1 D2760001240102000005000000370000 Now select the second card but do not print the entire listing, just the card index, s/n and applications. We also select by s/n: gpg/card> l --info D2760001240102000005000000370000 1* D2760001240102000005000000370000 Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/call-keyboxd.c')
0 files changed, 0 insertions, 0 deletions