Werner Koch
4584125802
gpg: Try hard to use MDC also for sign+symenc.
...
* g10/encrypt.c (use_mdc): Make it a global func.
* g10/sign.c (sign_symencrypt_file): Use that function to decide
whether to use an MDC.
* tests/openpgp/conventional-mdc.test: Add a simple test case.
--
We used --force-mdc in sign+symenc mode (-cs) only with --force-mdc.
That broke our assumption from commit 625e292 (GnuPG 2.1.9) that all
uses of modern ciphers are using MDC.
Reported-by: Ben Kibbey <bjk@luxsci.net>
Signed-off-by: Werner Koch <wk@gnupg.org>
2015-10-12 09:31:44 +02:00
..
2015-01-22 12:06:11 +01:00
2015-03-16 20:14:58 +01:00
2015-08-25 15:26:33 +02:00
2015-07-25 12:09:23 +09:00
2015-10-06 20:31:43 +02:00
2015-10-05 17:52:28 +02:00
2015-07-25 12:09:23 +09:00
2011-12-01 11:09:02 +01:00
2014-08-14 11:03:55 +02:00
2011-02-04 12:57:53 +01:00
2015-01-22 12:06:11 +01:00
2015-08-25 15:26:33 +02:00
2014-06-30 09:12:48 +02:00
2015-01-22 12:06:11 +01:00
2015-08-20 14:16:22 +02:00
2014-01-29 20:35:05 +01:00
2014-09-20 16:27:16 +02:00
2015-10-06 13:10:26 +02:00
2014-10-31 14:21:34 +01:00
2015-08-06 17:00:41 +09:00
2015-10-12 09:31:44 +02:00
2015-01-22 12:06:11 +01:00
2007-07-04 19:49:40 +00:00
2015-10-08 15:40:53 +02:00
2014-11-13 12:01:42 +01:00
2015-05-01 13:58:18 +09:00
2015-10-06 20:31:43 +02:00
2015-02-04 09:15:34 +01:00
2015-10-08 15:40:53 +02:00
2015-01-22 12:06:11 +01:00
2015-02-04 09:15:34 +01:00
2015-10-08 15:40:53 +02:00
2012-06-05 19:29:22 +02:00
2015-08-31 11:30:54 +02:00
2014-11-13 17:01:17 +01:00
2015-09-02 10:52:01 +02:00
2015-09-16 15:15:28 +02:00
2015-10-08 14:58:26 +02:00
2015-10-08 14:55:07 +02:00
2015-08-06 17:00:41 +09:00
2015-10-08 15:40:53 +02:00
2015-09-16 15:15:20 +02:00
2015-05-08 15:51:11 +02:00
2015-10-06 20:31:43 +02:00
2015-10-06 20:31:43 +02:00
2015-10-12 09:31:44 +02:00
2015-10-06 09:44:15 +02:00
2015-10-05 19:48:47 +02:00
2011-02-04 12:57:53 +01:00
2014-10-09 10:56:25 +02:00
2015-06-17 12:59:29 +02:00
2015-10-05 19:48:47 +02:00
2000-07-31 08:04:16 +00:00
2015-10-08 15:40:53 +02:00
2015-10-05 19:48:47 +02:00
2015-10-01 17:59:22 +02:00
2015-08-23 12:17:43 +02:00
2015-08-16 12:54:04 -04:00
2014-04-17 21:44:09 +02:00
2010-04-23 11:36:59 +00:00
2015-09-16 15:15:23 +02:00
2015-08-06 17:00:41 +09:00
2014-01-30 18:48:37 +01:00
2015-01-22 12:06:11 +01:00
2011-02-04 12:57:53 +01:00
2015-08-06 17:00:41 +09:00
2000-07-31 08:04:16 +00:00
2015-08-21 14:21:08 +02:00
2011-02-04 12:57:53 +01:00
2008-12-12 08:54:50 +00:00
2015-02-11 10:28:25 +01:00
2014-10-03 11:58:58 +02:00
2015-04-06 13:07:09 +02:00
2015-09-29 11:32:40 +02:00
2015-10-12 09:31:44 +02:00
2014-01-29 20:35:05 +01:00
2015-09-02 15:08:57 +02:00
2015-09-10 18:12:20 +02:00
2011-02-04 12:57:53 +01:00
2015-06-04 18:08:26 +02:00
2015-06-04 18:08:26 +02:00
2015-06-04 18:08:26 +02:00
2015-10-08 15:40:53 +02:00
2015-09-10 18:12:20 +02:00
2014-10-17 13:32:16 +02:00
2015-02-11 10:28:25 +01:00
2015-09-16 19:02:35 +02:00
2015-06-04 17:34:55 +02:00
2015-01-22 12:06:11 +01:00
2014-01-29 17:45:05 +01:00