Home GnuPG

Do not allow PKCS #1.5 padding for encryption in FIPS

Description

Do not allow PKCS #1.5 padding for encryption in FIPS

* cipher/pubkey-util.c (_gcry_pk_util_data_to_mpi): Block PKCS #1.5
  padding for encryption in FIPS mode
* cipher/rsa.c (rsa_decrypt): Block PKCS #1.5 decryption in FIPS mode
  • GnuPG-bug-id: T5918
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details