Home GnuPG
Diffusion GnuPG 253e8bdd9014

gpg: Remove MDC options

Description

gpg: Remove MDC options

* g10/gpg.c: Tuen options --force-mdc, --no-force-mdc, --disable-mdc
and --no-disable-mdc into NOPs.
* g10/encrypt.c (use_mdc): Simplify.  MDC is now almost always used.
(use_aead): Ignore MDC options. Print warning for missing MDC feature
flags.
* g10/pkclist.c (warn_missing_mdc_from_pklist): Rename to ...
(warn_missing_aead_from_pklist): this and adjust.

The MDC is now always used except with --rfc2440 which will lead to a
a big fat warning.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 29 2018, 12:42 PM
Parents
rGaf4a5dbe575f: gpg: Fix detection of the AEAD feature flag.
Branches
Unknown
Tags
Unknown