Home GnuPG
Diffusion GnuPG 97b37db144da

gpg,gpgsm: Remove compatibility_flags allow-ecc-encr and vsd-allow-encr.

Description

gpg,gpgsm: Remove compatibility_flags allow-ecc-encr and vsd-allow-encr.

* g10/options.h (COMPAT_VSD_ALLOW_OCB): Remove.
* g10/gpg.c (compatibility_flags): Remove "vsd-allow_ocb".
(main): Alwas set CO_EXTRA_INFO_VSD_ALLOW_OCB.
* g10/keygen.c (keygen_set_std_prefs): Always set OCB feature flag.
* g10/encrypt.c (use_aead): Always OCB also in de-vs mode.
* sm/gpgsm.h (COMPAT_ALLOW_ECC_ENCR): Remove.
* sm/gpgsm.c (compatibility_flags): Remove "allow-ecc-encr".
* sm/encrypt.c (encrypt_dek): Always allow ecc encryption.
* sm/certreqgen.c (proc_parameters): Likewise.

Both feature are meanwhile approved in de-vs mode thus there is no
more need for the flags.

Details

Provenance
wernerAuthored on May 6 2024, 2:34 PM
Parents
rG6228bb001257: tests: Avoid new C23 keyword true.
Branches
Unknown
Tags
Unknown