Commit Graph

120 Commits

Author SHA1 Message Date
Daniel Kahn Gillmor 1820889e3c Fix spelling: "occured" should be "occurred"
* checks/armor.test, cipher/des.c, g10/ccid-driver.c, g10/pkclist.c,
  util/regcomp.c, util/regex_internal.c: correct the spelling of
  "occured" to "occurred"

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2016-08-04 12:37:34 +02:00
Werner Koch 43e5d28c6d
gpg: Reject signatures made with MD5.
* g10/gpg.c: Add option --allow-weak-digest-algos.
(main): Set option also in PGP2 mode.
* g10/options.h (struct opt): Add flags.allow_weak_digest_algos.
* g10/sig-check.c (do_check): Reject MD5 signatures.
* tests/openpgp/gpg.conf.tmpl: Add allow_weak_digest_algos.
--
(cherry picked from commit f90cfe6b66)

Resolved conflicts:
	g10/gpg.c - adjust.
	tests/openpgp/defs.inc - no changes
2015-12-19 15:11:56 +01:00
Werner Koch 9b516323d7 Prepare for newer automakes which default to parallel tests.
* checks/Makefile.am: Add a list of test dependencies.
--

We want to keep the tests in a specific order because that helps to
compare tests and some tests rely on others anyway.

Signed-off-by: Werner Koch <wk@gnupg.org>
2013-12-05 10:50:27 +01:00
Werner Koch 95347cf950 tests: Skip secret key import check in SELinux mode
* configure.ac (ENABLE_SELINUX_HACKS): New am_conditional.
* checks/Makefile.am (prepared.stamp): Replace by defs-config.inc.
(defs-config.inc): Create and set enable_selinux_hacks variable.
* checks/defs.inc: Include defs-config.inc.

* checks/armor.test: Do not run the last test in selinux mode.

GnuPG-bug-id: 1390
2012-11-08 17:16:40 +01:00
Werner Koch 76b73caf91 Rename all ChangeLog files to ChangeLog-2011.
* ChangeLog: New file.
2011-12-02 19:42:56 +01:00
David Shaw 72ef16b939 * armor.test: Tweak the bug 1179 test to only run if Twofish is
included in the program.  The sample message requires Twofish.
2010-10-20 02:27:25 +00:00
Werner Koch 9921fb3a8c "make distcheck" fix 2010-09-23 09:09:49 +00:00
Werner Koch 198c5c5587 Fix bug 1179 2010-05-12 16:06:38 +00:00
Werner Koch 1e1b57a294 Preparing for a release candidate 2009-08-13 08:45:23 +00:00
Werner Koch 6e8bb4de07 Fixed a regression in gpg_dermor. 2007-12-14 11:30:01 +00:00
Werner Koch aa9aec7068 Comment typ fixes.
Workaround for bad translations of the capability menu.
2007-12-03 14:41:38 +00:00
David Shaw ccf5233565 * defs.inc: Use new --list-config method to get cipher and digest
names.
2007-11-28 15:15:37 +00:00
Werner Koch 9a2a818887 Switched to GPLv3.
Updated gettext.
2007-10-23 10:48:09 +00:00
David Shaw ab20b58ecd * defs.inc (all_hash_algos): See "all_cipher_algos", below.
* sigs.test: Use it here, and also test with >=160 bit hashes for
DSA2.
2007-07-18 17:43:14 +00:00
David Shaw 1b488760bb * defs.inc (all_cipher_algos): New function to return all ciphers we
support.  This is safer than the previous setup which could hide that
some ciphers weren't being tested.  Plus, this automatically tests any
new ciphers we may add.

* conventional.test, encrypt-test, encrypt-dsa.test,
conventional-mdc.test: Use it here.
2007-05-14 23:16:05 +00:00
David Shaw ddfaad29fd * conventional.test, encrypt.test, encrypt-dsa.test,
conventional-mdc.test: Fix some broken tests that were only testing
3DES instead of all available ciphers.
2007-05-02 17:20:45 +00:00
Werner Koch 7cb81bb3ef Preparing 1.4.7 2007-03-05 10:22:56 +00:00
Werner Koch 9f433cccca Removed the use of g10defs.h.
This required some code cleanups and the introduction of
a few accessor ducntions in mpi.
2006-12-11 19:54:53 +00:00
David Shaw ebdd458f82 * sigs.test, mds.test: Add tests for SHA-224, SHA-384, and SHA-512. 2006-04-20 02:12:34 +00:00
Werner Koch 2830e83246 . 2006-04-11 07:50:34 +00:00
Werner Koch 168583e596 Add new regression test 2006-04-11 07:49:25 +00:00
Werner Koch cf10c31a3f Preparing for an RC23 2006-03-09 12:45:02 +00:00
Werner Koch 4aeb4d4b10 More tests added; make distcheck works 2006-03-07 11:05:41 +00:00
Werner Koch 3e08d87168 Stricter test of allowed signature packet compositions.
There is still one problem to solve.
2006-03-06 21:28:25 +00:00
Werner Koch 966cd80d88 Fixed a wrong return code with gpg --verify 2006-02-14 10:17:57 +00:00
Werner Koch 3244978721 Removed silly old file 2005-07-29 07:32:32 +00:00
Werner Koch fa21ccc6d9 * conventional.test (algos): Uhh ohh, cut+paste error and not
tested.
2005-06-21 14:28:12 +00:00
Werner Koch 2d2e2e74b8 * gpg.sgml: Document smartcard related options.
* g10.c, options.h: New option --no-interactive-selection.
* keyedit.c (keyedit_menu): Use it.
2005-06-20 17:03:27 +00:00
Werner Koch 7d4043ca57 Updated FSF street address and preparations for a release candidate. 2005-05-31 08:39:18 +00:00
David Shaw 74eadbf99b * clearsig.test, sigs.test: Properly detect RSA being missing, and use the
proper key for doing an RSA test.
2004-02-09 19:44:36 +00:00
David Shaw e7abe7e909 * clearsig.test, conventional-mdc.test, conventional.test, defs.inc,
encrypt-dsa.test, encrypt.test, genkey1024.test, plain-1.asc,
plain-1-pgp.asc, plain-2.asc, plain-3.asc, pubring.asc, secring.asc,
sigs.test: Rework tests to work properly with a gpg binary that doesn't
have all ciphers and all pk algos. Basically, we test for the ciphers we
have, only test signing with non-160-bit hashes with RSA (we test all
hashes as hashes).  Test all key lengths of AES.
2003-12-31 19:00:35 +00:00
David Shaw d1b08dafe3 * Makefile.am: Reenable tests now that the Elgamal signature keys are
gone.

* defs.inc, pubring.asc, secring.asc, plain-1.asc, plain-2.asc,
plain-3.asc: Remove the old v3 Elgamal keys and replace with RSA+Elgamal
and RSA s+e.
2003-12-05 13:32:48 +00:00
David Shaw ad71703ebc * options: Remove emulate-md-encode-bug. 2003-12-04 04:38:56 +00:00
Werner Koch c58f068af8 (TESTS): Temporary remove tests using ElG signatures. 2003-11-27 16:57:41 +00:00
David Shaw ed79601ef8 Missed one. 2003-09-04 12:43:45 +00:00
David Shaw 50fb4a28d3 * mds.test, sigs.test: Remove TIGER/192 and make SHA-256 optional (since
it might not be compiled in).
2003-09-04 12:12:42 +00:00
David Shaw f0fddbd613 * Makefile.am: Add --no-permission-warning to avoid spurious warning when
importing demo keys.
2003-07-10 15:10:02 +00:00
Werner Koch 41bfaa5e51 About to release 1.3.2 2003-05-27 08:38:58 +00:00
David Shaw d61c869d75 * defs.inc (pgmname): Make sure there is a valid options file. (From wk on
stable branch)

* mds.test: Note that missing algorithms are not errors.
2003-05-26 14:14:03 +00:00
David Shaw 4e472d09a8 * Makefile.am, options.in: Rename options.in to options since it no longer
needs to be a generated file.

* sigs.test: TODO note to add the new SHAs when we start generating them.

* mds.test: Test the new SHAs.
2003-04-23 20:08:38 +00:00
David Shaw 151ee2f47b Update head to match stable 1.0 2002-06-29 13:31:13 +00:00
Werner Koch 986649bea0 Some configuration changes 2000-11-14 16:04:16 +00:00
Werner Koch 9c20f65cbe See ChangeLog: Wed Oct 4 13:16:18 CEST 2000 Werner Koch 2000-10-04 11:16:19 +00:00
Werner Koch d81c3f733b See ChangeLog: Fri Jul 28 18:19:11 CEST 2000 Werner Koch 2000-07-28 16:19:07 +00:00
Werner Koch f00d949f87 See ChangeLog: Mon Jan 31 17:48:10 CET 2000 Werner Koch 2000-01-31 16:48:54 +00:00
Werner Koch 4555c0be94 See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner Koch 1999-12-08 21:03:03 +00:00
Werner Koch 881e513237 See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner Koch 1999-11-13 16:43:23 +00:00
Werner Koch a10fe4efb0 See ChangeLog: Thu Oct 28 16:17:46 CEST 1999 Werner Koch 1999-10-28 14:18:20 +00:00
Werner Koch 56146451ea See ChangeLog: Tue Oct 26 20:03:44 CEST 1999 Werner Koch 1999-10-26 18:06:55 +00:00
Werner Koch cf70ca8d68 See ChangeLog: Tue Oct 26 14:10:21 CEST 1999 Werner Koch 1999-10-26 12:14:37 +00:00