Werner Koch
825dd7220f
gpg: Do not allow old cipher algorithms for encryption.
...
* g10/gpg.c: New option --allow-old-cipher-algos.
(set_compliance_option): Set --rfc4880bis explictly to SHA256 and
AES256. Allow old cipher algos for OpenPGP, rfc4880, and rfc2440.
* g10/options.h (opt): Add flags.allow_old_cipher_algos.
* g10/misc.c (print_sha1_keysig_rejected_note): Always print the note
unless in --quiet mode.
* g10/encrypt.c (setup_symkey): Disallow by default algos with a
blocklengt < 128.
(encrypt_crypt): Ditto. Fallback by default to AES instead of 3DES.
* g10/pkclist.c (algo_available): Take care of old cipher also.
(select_algo_from_prefs): Use AES as implicit algorithm by default.
* tests/openpgp/defs.scm (create-gpghome): Set allow-old-cipher-algos.
--
GnuPG-bug-id: 3415
2021-02-10 14:40:02 +01:00
..
2020-11-04 16:22:44 +01:00
2020-12-23 14:45:55 +01:00
2014-12-14 12:15:21 +01:00
2006-11-14 10:23:21 +00:00
2017-07-24 10:43:27 +02:00
2011-12-01 11:09:02 +01:00
2014-11-04 21:47:03 +01:00
2016-09-20 09:32:25 +09:00
2013-04-17 11:26:27 +02:00
2019-07-18 14:11:55 +02:00
2020-11-09 13:41:26 +01:00
2020-12-21 16:06:16 +01:00
2015-03-04 15:10:52 +01:00
2018-10-24 14:39:56 -04:00
2003-01-09 13:24:01 +00:00
2016-09-20 09:56:22 +09:00
2010-06-10 10:39:44 +00:00
2004-12-21 19:05:15 +00:00
2004-12-21 19:05:15 +00:00
2006-06-20 17:47:10 +00:00
2007-07-04 19:49:40 +00:00
2011-08-12 14:40:47 +02:00
2007-03-08 18:31:56 +00:00
2014-07-03 11:03:22 +02:00
2014-06-25 11:15:45 +02:00
2020-09-10 13:58:47 +02:00
2019-02-25 09:34:30 +01:00
2020-08-28 09:09:05 +02:00
2020-08-14 12:19:11 +02:00
2021-02-10 14:40:02 +01:00
2020-11-23 12:11:15 +01:00
2019-03-07 07:54:29 +01:00
2016-11-05 12:02:19 +01:00
2020-11-26 09:54:23 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2020-12-23 11:25:03 +09:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2019-08-21 15:26:34 +02:00
2020-12-23 11:38:50 +09:00
2020-12-28 17:16:11 +09:00
2017-09-08 11:37:42 -04:00
2007-05-08 13:59:41 +00:00
2016-09-20 16:15:19 +09:00
2006-08-21 20:20:23 +00:00
2021-02-09 18:42:25 +01:00
2016-07-06 19:35:15 +02:00
2012-11-30 12:43:34 -05:00
2020-02-18 18:07:46 -05:00
2014-10-17 13:32:16 +02:00
2016-09-20 09:56:22 +09:00
2012-11-30 12:47:49 -05:00
2019-09-05 13:12:14 +02:00
2006-08-18 13:05:39 +00:00
2019-01-29 20:10:11 +01:00
2016-09-20 16:15:19 +09:00
2011-08-12 14:40:47 +02:00
2021-02-09 18:42:25 +01:00
2017-02-21 13:11:46 -05:00
2018-05-07 08:07:07 +02:00
2017-02-21 13:11:46 -05:00
2010-07-23 16:16:14 +00:00
2006-12-06 16:38:34 +00:00
2020-02-18 18:07:46 -05:00
2019-08-20 15:16:19 -04:00
2019-04-04 12:52:09 +02:00