diff options
author | Werner Koch <wk@gnupg.org> | 2020-05-07 09:45:49 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-05-07 09:45:49 +0200 |
commit | 5c29d25e6c7c0a5a63ab4c46d4624217307adb78 (patch) | |
tree | f0db0cd96dba84e83982034af3325320542f33ea /scd/app-nks.c | |
parent | scd:nks: Support decryption using ECDH. (diff) | |
download | gnupg2-5c29d25e6c7c0a5a63ab4c46d4624217307adb78.tar.xz gnupg2-5c29d25e6c7c0a5a63ab4c46d4624217307adb78.zip |
sm: Print the key types as standard key algorithm strings.
* sm/fingerprint.c (gpgsm_get_key_algo_info): Factor code out to ...
(gpgsm_get_key_algo_info2): new.
(gpgsm_pubkey_algo_string): New.
* sm/keylist.c (list_cert_colon): Put curve into field 17
(list_cert_raw): Print the unified key algotithm string instead of the
algo and size.
(list_cert_std): Ditto.
--
It is important to known whether a 256 bit ECC uses a NIST or a
Brainpool curve.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'scd/app-nks.c')
0 files changed, 0 insertions, 0 deletions