mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
sm: Support rsaPSS verification also for CMS signatures.
* sm/certcheck.c (gpgsm_check_cert_sig): Factor PSS parsing out to ... (extract_pss_params): new. (gpgsm_check_cms_signature): Implement PSS. -- GnuPG-bug-id: 4538
This commit is contained in:
parent
ba34f14153
commit
6c28d9343e
3 changed files with 113 additions and 41 deletions
|
@ -412,8 +412,8 @@ gpgsm_verify (ctrl_t ctrl, int in_fd, int data_fd, estream_t out_fp)
|
|||
{
|
||||
log_debug ("signer %d - signature available (sigval hash=%d)",
|
||||
signer, sigval_hash_algo);
|
||||
/* log_printhex ("sigval ", sigval, */
|
||||
/* gcry_sexp_canon_len (sigval, 0, NULL, NULL)); */
|
||||
/*log_printhex(sigval, gcry_sexp_canon_len (sigval, 0, NULL, NULL),*/
|
||||
/* "sigval "); */
|
||||
}
|
||||
if (!sigval_hash_algo)
|
||||
sigval_hash_algo = algo; /* Fallback used e.g. with old libksba. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue