Home GnuPG

Support Brainpoolp512r1 certs specified with ECDomainParameters.

Description

Support Brainpoolp512r1 certs specified with ECDomainParameters.

* src/keyinfo.c (ecdomainparm_to_name): New table.
(_ksba_keyinfo_to_sexp): Support ECDomainParameter lookup.

Note that in contrast to SEC1 PKIX does no allow specification of a
curve via domain parameters - but it has anyway been seen in the wild.
Thus we add some limited support.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 1 2021, 2:56 PM
Parents
rKfe03ab4c14e7: Fix a possible segv in case of an unknown CMS object.
Branches
Unknown
Tags
Unknown