1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-28 21:50:02 +02:00
gnupg/scd
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
..
apdu.c scd: Increase the number of supported readers from 4 to 16. 2020-09-04 12:51:54 +02:00
apdu.h scd: Map some error codes from libusb to ccid-driver error codes. 2020-08-12 16:06:49 +02:00
app-common.h scd: Extend KEYPAIRINFO with an algorithm string. 2020-09-21 14:47:53 +02:00
app-dinsig.c scd: Extend an internal function to also return the algo. 2020-05-05 08:07:11 +02:00
app-geldkarte.c scd: First changes to implement a PIN cache. 2020-01-07 18:45:33 +01:00
app-help.c scd: Extend KEYPAIRINFO with an algorithm string. 2020-09-21 14:47:53 +02:00
app-nks.c scd: Extend KEYPAIRINFO with an algorithm string. 2020-09-21 14:47:53 +02:00
app-openpgp.c scd: Extend KEYPAIRINFO with an algorithm string. 2020-09-21 14:47:53 +02:00
app-p15.c scd: Extend an internal function to also return the algo. 2020-05-05 08:07:11 +02:00
app-piv.c scd: Extend KEYPAIRINFO with an algorithm string. 2020-09-21 14:47:53 +02:00
app-sc-hsm.c scd: Extend an internal function to also return the algo. 2020-05-05 08:07:11 +02:00
app.c scd: Fix reading of the ATR for card type detection. 2020-08-27 11:53:06 +02:00
atr.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c scd: Increase the number of supported readers from 4 to 16. 2020-09-04 12:51:54 +02:00
ccid-driver.h scd: Map some error codes from libusb to ccid-driver error codes. 2020-08-12 16:06:49 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command.c scd: Extend KEYPAIRINFO with an algorithm string. 2020-09-21 14:47:53 +02:00
iso7816.c scd: Map some error codes from libusb to ccid-driver error codes. 2020-08-12 16:06:49 +02:00
iso7816.h scd:nks: Implement writecert for the Signature card v2. 2020-07-02 18:35:34 +02:00
Makefile.am scd: Add very basic support for PIV cards. 2019-01-20 11:45:57 +01:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c gpgconf: Further simplify the gpgconf option processing. 2020-03-14 19:12:41 +01:00
scdaemon.h scd: New command DEVINFO. 2020-04-02 15:39:26 +09:00