card: Print the used algorithm of all keys.
authorWerner Koch <wk@gnupg.org>
Thu, 7 Feb 2019 19:28:43 +0000 (20:28 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 7 Feb 2019 19:28:43 +0000 (20:28 +0100)
commitb79bc877f2ad4d08e7de377cf4bf616b981b3c5f
tree752fc6b3df0b6e1d1b8dc8ff5abe11589a942dd4
parentdf6ba6dfd235fddb7645bc16573da1a6a7e6b49d
card: Print the used algorithm of all keys.

* tools/card-call-scd.c (scd_readkey): New.
* tools/card-tool-misc.c (pubkey_algo_string): New.
* tools/gpg-card-tool.c (list_one_kinfo): Print the algo.
--

It is convenient to see the actual algorithm of keys even if no
certificate has yet been created.

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