Home GnuPG
Diffusion GnuPG f88cb12f8e3c

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.

Details

Provenance
wernerAuthored on Aug 30 2022, 6:55 PM
Parents
rG15cf36f6a84d: gpg: Rename a function.
Branches
Unknown
Tags
Unknown
Tasks
T6174: Option --require-comliance does not work in sign+encrypt mode