card: Print usage info for each key.
authorWerner Koch <wk@gnupg.org>
Thu, 21 Feb 2019 11:43:07 +0000 (12:43 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 21 Feb 2019 11:43:07 +0000 (12:43 +0100)
commit7317aeb3f448c98dcfa9c04f49b9a69d81c26776
treecef6aa41dc512016a7233f1426cd5807e6402e19
parent5e21ef2d556ca65b7869bf16ab465f3511601e1e
card: Print usage info for each key.

* tools/card-call-scd.c (learn_status_cb): Handle extended
KEYPARIRINFO.
* tools/card-tool.h (struct key_info_s): Add field 'usage'.
* tools/gpg-card-tool.c (list_one_kinfo): Show usage flags.

Signed-off-by: Werner Koch <wk@gnupg.org>
tools/card-call-scd.c
tools/card-tool.h
tools/gpg-card-tool.c