Home GnuPG

cipher: Allow verification of small RSA signatures in FIPS mode

Description

cipher: Allow verification of small RSA signatures in FIPS mode

* cipher/rsa.c (rsa_check_keysize): Formatting.
  (rsa_check_verify_keysize): New function.
  (rsa_verify): Allow using smaller keys for verification.
  • GnuPG-bug-id: T5975
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on May 12 2022, 10:56 AM
gniibeCommitted on May 19 2022, 3:47 AM
Parents
rC4019f1a66b15: Fix internal declaration of _gcry_kdf_compute.
Branches
Unknown
Tags
Unknown
Tasks
T5975: Allow signature verification using specific RSA keys <2k in FIPS mode