Home GnuPG
Diffusion GnuPG b45ab0ca08f8

sm,dirmngr: Support rsaPSS signature verification.

Description

sm,dirmngr: Support rsaPSS signature verification.

* sm/certcheck.c (hash_algo_from_buffer): New.
(uint_from_buffer): New.
(gpgsm_check_cert_sig): Handle PSS.
* dirmngr/crlcache.c (hash_algo_from_buffer): New.
(uint_from_buffer): New.
(start_sig_check): Detect PSS and extract hash algo.  New arg to
return a PSS flag.
(finish_sig_check): New arg use_pss.  Extract PSS args and use them.
(crl_parse_insert): Pass use_pss flag along.
  • GnuPG-bug-id: T4538
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Apr 9 2020, 12:18 PM
Parents
rG5d5b70ae0f51: common: New function to map hash algo names.
Branches
Unknown
Tags
Unknown
Tasks
T4538: Support PSS signed CRLs