Diffusion GnuPG b45ab0ca08f8

sm,dirmngr: Support rsaPSS signature verification.

Authored by werner on Apr 9 2020, 12:18 PM.

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

Committed
wernerApr 9 2020, 12:20 PM
Parents
rG5d5b70ae0f51: common: New function to map hash algo names.
Branches
Unknown
Tags
Unknown
Tasks
T4538: Support PSS signed CRLs