Home GnuPG
Diffusion GnuPG a51067a21f68

gpg: Make --require-compliance work for -se

Description

gpg: Make --require-compliance work for -se

* g10/encrypt.c (encrypt_crypt, encrypt_filter): Factor common code
out to ...
(create_dek_with_warnings): new
(check_encryption_compliance): and new.
* g10/encrypt.c (encrypt_filter): Add the compliance check.

Ported-from: f88cb12f8e3c1234a094d09e2505d3a3eec4cbfe

Details

Provenance
wernerAuthored on Sep 29 2022, 3:03 PM
Parents
rG530d709607e5: dirnmgr: Fix the function prototype.
Branches
Unknown
Tags
Unknown
Tasks
T6174: Option --require-comliance does not work in sign+encrypt mode