1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-21 14:47:03 +01:00
David Shaw 0f1c0a9f28 * options.h, gpg.c (main): Add --enable-dsa2 and --disable-dsa2. Defaults
to disable.

* pkclist.c (algo_available): If --enable-dsa2 is set, we're allowed to
truncate hashes to fit DSA keys.

* sign.c (match_dsa_hash): New.  Return the best match hash for a given q
size. (do_sign, hash_for, sign_file): When signing with a DSA key, if it
has q==160, assume it is an old DSA key and don't allow truncation unless
--enable-dsa2 is also set.  q!=160 always allows truncation since they
must be DSA2 keys. (make_keysig_packet): If the user doesn't specify a
--cert-digest-algo, use match_dsa_hash to pick the best hash for key
signatures.
2006-04-20 21:32:42 +00:00
..
2005-10-27 09:14:27 +00:00
2006-02-14 16:28:34 +00:00
2006-02-06 16:34:20 +00:00
2005-07-27 18:10:56 +00:00
2005-07-27 18:10:56 +00:00
2006-04-03 10:13:23 +00:00
2005-07-27 18:10:56 +00:00
2005-07-27 18:10:56 +00:00
2005-07-27 18:10:56 +00:00
2006-04-08 01:23:23 +00:00
2006-03-22 16:43:59 +00:00
2006-04-03 10:13:23 +00:00
2005-10-05 16:58:50 +00:00
2006-03-30 23:55:45 +00:00
2005-07-27 18:10:56 +00:00
2006-04-03 10:13:23 +00:00
2006-04-03 10:13:23 +00:00
2005-07-27 18:10:56 +00:00
2006-04-03 10:13:23 +00:00