wiki.techinc.nl/includes/password
Max Semenik 7a7976ba7a Password: replace equals() with verify()
So far, our key derivation code assumed that it has control over
the salt used by the derivation routines, however I want to add Argon2
support and it doesn't work this way: password_hash() generates the
salt itself, and the only way to verify a password is by using
password_verify(). Current way the things are done doesn't support it
because it relies on the result of password hashing with parameters we
provide to be deterministic.

Therefore, I'm deprecating Password::equals(), as well as whole concept
of comparing Password objects - it's used only in tests anyway. It's
getting replaced with verify() that only accepts password strings.
Uses of old function are fixed with exception of a few calls in tests
that will be addressed in my Argon2 patch.

Change-Id: I2b2be9a422ee0f773490eac316ad81505c3f8571
2019-01-24 13:40:40 -08:00
..
BcryptPassword.php Clean up CSPRNG support for PHP7 2018-06-10 00:52:04 +00:00
commonpasswords.cdb password: Move commonpasswords.cdb to includes/password/ 2018-08-01 22:40:30 +00:00
EncryptedPassword.php Clean up CSPRNG support for PHP7 2018-06-10 00:52:04 +00:00
InvalidPassword.php Password: replace equals() with verify() 2019-01-24 13:40:40 -08:00
LayeredParameterizedPassword.php
MWOldPassword.php
MWSaltedPassword.php
ParameterizedPassword.php Decrease the number of 'function says it should return something' errors 2016-12-15 16:05:52 -08:00
Password.php Password: replace equals() with verify() 2019-01-24 13:40:40 -08:00
PasswordError.php
PasswordFactory.php Add PasswordFactory to MediaWikiServices 2018-08-02 14:46:35 +01:00
PasswordPolicyChecks.php Deprecate PasswordPolicyChecks::checkPopularPasswordBlacklist 2018-12-27 20:45:49 +00:00
Pbkdf2Password.php PasswordPbkdf2: remove the 'use-hash-extension' option 2018-11-30 18:21:03 -08:00
UserPasswordPolicy.php Add force option to password policy 2019-01-02 12:38:11 -08:00