stable
Clone or download
Read-only
story #8059: Use salted SHA-512 instead of salted MD5 to store UNIX passwords
For legacy reasons, PHP 5.1 still use salted MD5 to store all the passwords Change-Id: Iaa92fddba2e19db0034e09165aa30e5ec2ea274b
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/user/Password/PasswordHandler.class.php | +4 | −38 | Go to diff View file |
M | src/common/user/Password/StandardPasswordHandler.class.php | +9 | −0 | Go to diff View file |
M | src/common/user/Password/WeakPasswordHandler.class.php | +7 | −0 | Go to diff View file |
M | src/common/user/TokenGenerator.class.php | +9 | −5 | Go to diff View file |
M | src/db/mysql/database_structure.sql | +1 | −1 | Go to diff View file |
A | src/db/mysql/updates/2015/201506011450_increase_unix_password_field_size.php | +38 | −0 | Go to diff View file |
M | src/www/my/index.php | +1 | −1 | Go to diff View file |
M | tests/simpletest/common/user/StandardPasswordHandlerTestPHP53.php | +8 | −0 | Go to diff View file |
A | tests/simpletest/common/user/TokenGeneratorTest.php | +31 | −0 | Go to diff View file |
M | tests/simpletest/common/user/WeakPasswordHandlerTest.php | +1 | −1 | Go to diff View file |