Subject: | Enhancement Request: Limit the password length |
Date: | Sat, 9 Nov 2013 14:45:06 +0200 |
To: | bug-Crypt-PBKDF2 [...] rt.cpan.org |
From: | Gabor Szabo <gabor [...] szabgab.com> |
Django had a security related issue by letting any length of password in
https://www.djangoproject.com/weblog/2013/sep/15/security/
It might be a good idea to have a limit to the password length
that could be set by the module-user, but that would have a reasonable
default. 64 already seems enough.
So both generate() and validate() will croak if a password longer than this
was passed.