Home GnuPG
Diffusion GnuPG 17890d431873

gpg: New option --require-compliance.

Description

gpg: New option --require-compliance.

* g10/options.h (opt): Add field flags.require_compliance.
* g10/gpg.c (oRequireCompliance): New.
(opts): Add --require-compliance.
(main): Set option.
* g10/mainproc.c (proc_encrypted): Emit error if non de-vs compliant.
(check_sig_and_print): Ditto.
* g10/encrypt.c (encrypt_crypt): Ditto.

Note that in the --encrypt and --verify cased other checks may kick in
earlier than this new --require-compliance controlled one.

Details

Provenance
wernerAuthored on Mar 8 2022, 10:13 AM
Parents
rGc11292fe736d: gpg: Give Libgcrypt CFLAGS a higher priority than SQlite.
Branches
Unknown
Tags
Unknown