Home GnuPG

tests: Expect errors from algorithms not supported in FIPS mode.

Description

tests: Expect errors from algorithms not supported in FIPS mode.

* tests/basic.c (FLAG_NOFIPS): New.
(check_pubkey_sign): Pass and handle NOFIPS flag.
(check_pubkey_sign_ecdsa): Likewise.
(check_pubkey_crypt): Likewise.
(do_check_one_pubkey): Pass flags.
(check_pubkey): Mark explicitly algorithms expected not to work in
FIPS mode and make sure they fail.
  • Co-authored-by: NIIBE Yutaka <gniibe@fsij.org>
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
gniibeAuthored on Nov 8 2021, 5:57 AM
Parents
rC1b29be8e7e49: tests: Fix basic.c:check_pubkey.
Branches
Unknown
Tags
Unknown