gpg: Hard fail on a missing MDC even for legacy algorithms.
authorWerner Koch <wk@gnupg.org>
Tue, 15 May 2018 10:33:03 +0000 (12:33 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 31 May 2018 09:54:07 +0000 (11:54 +0200)
commit3db1b48a2da42942cb5a57281441167901bdcdc8
tree951760c6a1fbc6447b366633a3ac6b703fe8f4d0
parent26c0d3a3fc903c1a0de644ebcc99d3e665a80941
gpg: Hard fail on a missing MDC even for legacy algorithms.

* g10/mainproc.c (proc_encrypted): Require an MDC or AEAD
* tests/openpgp/defs.scm (create-gpghome): Use --ignore-mdc-error to
allow testing with the current files.
--

Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit d1431901f0143cdc7af8d1a23387e0c6b5bb613f)

Resolved Conflicts:
g10/mainproc.c - Remove AEAD stuff.
doc/gpg.texi
g10/mainproc.c
tests/openpgp/defs.scm