Home GnuPG
Diffusion GnuPG 9f1181e1a7ed

gpgsm: Print the key types as standard key algorithm strings.

Description

gpgsm: 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.
* 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.

Backported-from-master: 5c29d25e6c7c0a5a63ab4c46d4624217307adb78

  • Signed-off-by: Werner Koch <wk@gnupg.org>
  • GnuPG-bug-id: T6253

Details

Provenance
wernerAuthored on May 7 2020, 9:45 AM
Parents
rG5ae2632002c0: gpgsm: Support decryption of ECDH data
Branches
Unknown
Tags
Unknown
Tasks
T6253: GpgSM: Backport ECC support to 2.2