]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Impose a lower limit of 256 on key lengths. This is mostly because
authorSimon Tatham <anakin@pobox.com>
Wed, 25 Oct 2000 14:29:28 +0000 (14:29 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 25 Oct 2000 14:29:28 +0000 (14:29 +0000)
commit5f73cf092fe2e71928f165ea94290bfe5f576b94
tree2c9166dd859b5237028ad227c5c3821cbcb0c8c5
parentfc63ad0046b36fb9988f05f8a2dc17bf9f87972e
Impose a lower limit of 256 on key lengths. This is mostly because
the primegen() function doesn't work well with <100 bits, so RSA
keys need to be >=200 to be generated correctly, and I thought 256
was a nice round number beyond that just to be sure. Perhaps I
should also have a security warning on any key less than 768; or
perhaps I should let people shoot themselves in the feet if they
really want to.

[originally from svn r767]
puttygen.c