Home GnuPG

fips: Explicitly allow only some PK flags.
0b2b30c0c42fUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

fips: Explicitly allow only some PK flags.

* src/fips.c (_gcry_fips_indicator_pk_flags): New function for explicit
  FIPS indicator for public key algorithm flags.
* src/g10lib.h (_gcry_fips_indicator_pk_flags): New.
* src/gcrypt.h.in (GCRYCTL_FIPS_SERVICE_INDICATOR_PK_FLAGS): New.
* src/global.c (_gcry_vcontrol): Handle the new option.
* doc/gcrypt.texi: Document new options.

Cherry-picked master commit of:
4c1c8a707f9652dbfad8f8b531d8b84556f655f1

  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Mar 6 2023, 3:57 PM
gniibeCommitted on Mar 14 2023, 5:47 AM
Parents
rCfcb9ec67a117: doc: Document the new FIPS indicators.
Branches
Unknown
Tags
Unknown

Event Timeline