1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-30 16:17:02 +01:00
Werner Koch 26da47ae53
scd: Extend KEYPAIRINFO with an algorithm string.
* scd/app-openpgp.c (send_keypair_info): Emit the algo string as part
of a KEYPAIRINFO.
* scd/command.c (do_readkey): Ditto.
* scd/app-piv.c (do_readkey): Ditto.
* scd/app-nks.c (do_learn_status_core): Ditto.
(struct fid_cache_s): Add field algostr.
(flush_fid_cache): Release it.
(keygripstr_from_pk_file): Fill it and add it to the cache.  Use a
single exit label.
* scd/app-help.c (app_help_get_keygrip_string_pk): Add new arg
r_algostr.  Change all callers.
--

This is helpful so that callers do not need to parse the key for this
basic information.  Use "scd readkey --info-only" to return the info
status line instead of the key material; using just --info returns the
info in addition to the key material.

Signed-off-by: Werner Koch <wk@gnupg.org>
2020-09-21 14:47:53 +02:00
..
2020-08-25 13:10:36 +02:00
sm/
2006-11-14 10:23:21 +00:00
DCO
2020-09-21 09:20:47 +02:00
FAQ
2018-10-24 14:39:56 -04:00
2020-08-28 09:09:05 +02:00
2020-08-27 12:50:33 +02:00
2020-09-21 09:20:47 +02:00
2006-08-21 20:20:23 +00:00
2020-02-18 18:07:46 -05:00
2017-02-21 13:11:46 -05:00
2020-02-18 18:07:46 -05:00