gnupg/tests
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
..
extrasamples Added sample certificates. 2006-05-16 09:54:41 +00:00
fake-pinentries docs: Point to https://dev.gnupg.org/ . 2017-05-18 15:05:57 -04:00
gpgme tests: Improve handling of spaces in $PATH 2020-10-04 20:45:51 +02:00
gpgscm Remove the now obsolete argparse code. 2020-02-22 09:52:48 +01:00
gpgsm tests: Improve handling of spaces in $PATH 2020-10-04 20:45:51 +02:00
migrations tests: Improve handling of spaces in $PATH 2020-10-04 20:45:51 +02:00
openpgp gpg: Do not allow old cipher algorithms for encryption. 2021-02-10 14:40:02 +01:00
pkits tests: Add "disable-scdaemon" in gpg-agent.conf. 2019-02-21 12:26:09 +09:00
samplekeys Add the STEED Self-Signing Nonthority certificate. 2011-12-20 15:35:42 +01:00
samplemsgs More samples 2004-02-17 15:07:27 +00:00
567064FE6D14A17B2D811ABB407728BC558AA455 added test certificate and secret key 2001-12-06 20:19:52 +00:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am tests: Improve handling of spaces in $PATH 2020-10-04 20:45:51 +02:00
asschk.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
cert_cci_sphinx_ca.pem A few test certificates 2002-01-29 15:46:55 +00:00
cert_cci_test_wzs.pem A few test certificates 2002-01-29 15:46:55 +00:00
cert_cci_test_zs.pem A few test certificates 2002-01-29 15:46:55 +00:00
cert_cci_user02.pem A few test certificates 2002-01-29 15:46:55 +00:00
cert_cci_user03.pem A few test certificates 2002-01-29 15:46:55 +00:00
cert_cci_user04.pem A few test certificates 2002-01-29 15:46:55 +00:00
cert_cci_user06.pem A few test certificates 2002-01-29 15:46:55 +00:00
cert_cci_user07.pem A few test certificates 2002-01-29 15:46:55 +00:00
cert_testpki_testpca.pem A few test certificates 2002-01-29 15:46:55 +00:00
crl_testpki_testpca.pem A few test certificates 2002-01-29 15:46:55 +00:00
inittests tests: Add "disable-scdaemon" in gpg-agent.conf. 2019-02-21 12:26:09 +09:00
key_g10code_pete1.pem released 0.3.5 2002-04-15 17:15:21 +00:00
key_g10code_theo1.pem yet another test certificate 2002-03-28 17:25:28 +00:00
run-tests.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
runtest Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
skey_g10code_test1.pem added test certificate and secret key 2001-12-06 20:19:52 +00:00
sm-sign+verify Tweaked the build system so that make distcheck finanly said Well 2002-08-09 18:16:02 +00:00
sm-verify Spelling cleanup. 2020-02-18 18:07:46 -05:00
text-1.dsig.pem * asschk.c: Added some new features. 2002-08-08 16:32:01 +00:00
text-1.osig-bad.pem * asschk.c: Added some new features. 2002-08-08 16:32:01 +00:00
text-1.osig-badusage.pem new test certs and messages 2002-09-03 14:54:18 +00:00
text-1.osig.pem * asschk.c: Added some new features. 2002-08-08 16:32:01 +00:00
text-1.txt * asschk.c: Added some new features. 2002-08-08 16:32:01 +00:00
text-2.osig-bad.pem * asschk.c: Added some new features. 2002-08-08 16:32:01 +00:00
text-2.osig.pem * asschk.c: Added some new features. 2002-08-08 16:32:01 +00:00
text-2.txt * asschk.c: Added some new features. 2002-08-08 16:32:01 +00:00
text-3.txt * asschk.c: Added some new features. 2002-08-08 16:32:01 +00:00