Home GnuPG
Diffusion GnuPG 0a355b2fe7d8

gpg: Add compatibility flag "vsd-allow-ocb"

Description

gpg: Add compatibility flag "vsd-allow-ocb"

* common/compliance.h (enum gnupg_co_extra_infos): New.
* common/compliance.c (vsd_allow_ocb): New.
(gnupg_cipher_is_compliant): Allow OCB if flag is set.
(gnupg_cipher_is_allowed): Ditto.
(gnupg_set_compliance_extra_info): Change to take two args.  Adjust
callers.
* g10/gpg.c (compatibility_flags): Add "vsd-allow-ocb".
(main): And set it.
* g10/options.h (COMPAT_VSD_ALLOW_OCB): NEw.

This is a temporary flag until the new mode has been evaluated and can
always be enabled.

Details

Provenance
wernerAuthored on Oct 31 2022, 5:23 PM
Parents
rG4a9f3f94c6d1: gpg: New option --compatibility-flags
Branches
Unknown
Tags
Unknown
Tasks
T6263: Allow OCB encryption in 2.2