1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-22 14:57:02 +01:00
David Shaw cbc5c947d5 * sign.c (hash_for): Add code to detect if the sk lives on a smart
card.  If it does, only allow 160-bit hashes, a la DSA.  This involves
passing the *sk in, so change all callers.  This is correct for today,
given the current 160-bit q in DSA, and the current SHA-1/RIPEMD160
support in the openpgp card.  It will almost certainly need changing
down the road.

* app-openpgp.c (do_sign): Give user error if hash algorithm is not
supported by the card.
2006-01-01 17:48:54 +00:00
..
2005-10-27 09:14:27 +00:00
2005-07-27 18:10:56 +00:00
2005-07-27 18:10:56 +00:00
2005-10-05 16:58:50 +00:00
2005-12-20 20:19:16 +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
2005-12-20 20:19:16 +00:00
2005-07-27 18:10:56 +00:00
2005-10-05 16:58:50 +00:00
2005-12-20 20:19:16 +00:00
2005-10-05 16:58:50 +00:00
2005-07-27 18:10:56 +00:00
2005-07-27 18:10:56 +00:00
2005-12-20 20:19:16 +00:00
2005-12-20 20:19:16 +00:00
2005-07-27 18:10:56 +00:00
2005-12-20 20:19:16 +00:00
2005-07-27 18:10:56 +00:00