mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Comment changes.
Changed --learn-card.
This commit is contained in:
parent
f64a746f47
commit
2c7a03d54b
4 changed files with 13 additions and 7 deletions
|
@ -54,7 +54,7 @@
|
|||
|
||||
* keygen.c (keygen_set_std_prefs): Remove RMD-160 from the list.
|
||||
Change order to SHA-256, SHA-1, SHA-384, SHA-512, SHA-224.
|
||||
(gen_dsa): Use a 256 bit Q for 2048 bit P. Runt to FIPS allowed
|
||||
(gen_dsa): Use a 256 bit Q for 2048 bit P. Round to FIPS allowed
|
||||
values in non-expert mode.
|
||||
|
||||
2009-07-07 Werner Koch <wk@g10code.com>
|
||||
|
|
|
@ -88,6 +88,10 @@ hash_passphrase ( DEK *dek, char *pw, STRING2KEY *s2k)
|
|||
count = len2;
|
||||
}
|
||||
|
||||
/* Fixme: To avoid DoS attacks by sending an sym-encrypted
|
||||
packet with a very high S2K count, we should either cap
|
||||
the iteration count or CPU seconds based timeout. */
|
||||
|
||||
/* A little bit complicated because we need a ulong for count. */
|
||||
while ( count > len2 ) /* maybe iterated+salted */
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue