gnupg/agent
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
..
ChangeLog-2011 Fix typos 2015-10-28 10:20:17 +01:00
Makefile.am build: New configure option --disable-tests 2020-08-20 10:54:17 +02:00
agent.h agent: Allow to pass a timestamp to genkey and import. 2020-08-17 15:05:49 +02:00
all-tests.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
cache.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
call-daemon.c agent: separate out daemon handling infrastructure for reuse 2020-06-24 12:44:02 +02:00
call-pinentry.c agent: Fix coercion for pinentry_pid handling. 2020-07-31 17:20:31 +09:00
call-scd.c scd: Extend KEYPAIRINFO with an algorithm string. 2020-09-21 14:47:53 +02:00
command-ssh.c agent: Allow to pass a timestamp to genkey and import. 2020-08-17 15:05:49 +02:00
command.c agent: Fix regression for access through the extra secket. 2020-09-18 10:29:54 +09:00
cvt-openpgp.c agent: Allow to pass a timestamp to genkey and import. 2020-08-17 15:05:49 +02:00
cvt-openpgp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
divert-scd.c agent: Allow to use SETHASH for arbitrary data. 2020-05-18 19:24:41 +02:00
findkey.c doc: Typo fixes 2020-08-25 10:39:44 +02:00
genkey.c agent: Allow to pass a timestamp to genkey and import. 2020-08-17 15:05:49 +02:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c agent: Keep some permissions of private-keys-v1.d. 2020-09-09 20:34:59 +02:00
keyformat.txt doc: Typo fixes 2020-08-25 10:39:44 +02:00
learncard.c agent: Allow signing with card key even without a stub key. 2020-02-13 11:45:41 +01:00
pkdecrypt.c agent: Support scdaemon operation using KEYGRIP. 2019-05-15 17:13:32 +09:00
pksign.c doc: Add a list of RFCS to DETAIL. 2020-08-13 11:00:59 +02:00
preset-passphrase.c Use gpgrt's new option parser for the tools. 2020-02-21 20:28:47 +01:00
protect-tool.c agent: Allow to pass a timestamp to genkey and import. 2020-08-17 15:05:49 +02:00
protect.c agent: expose shadow key type 2020-06-24 10:11:47 +02:00
sexp-secret.c gpg,agent: Support Ed448 signing. 2020-06-24 10:05:03 +09:00
t-protect.c build: Always use EXTERN_UNLESS_MAIN_MODULE pattern. 2020-02-10 16:50:47 +01:00
trans.c agent: Replace most assert by log_assert. 2019-05-14 10:31:46 +02:00
trustlist.c agent: Replace most assert by log_assert. 2019-05-14 10:31:46 +02:00
w32main.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
w32main.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00