1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 11:22:40 +01:00
phorge-phorge/src/applications/people/storage
epriestley 3c9153079f Make password hashing modular
Summary:
Ref T4443. Make hashing algorithms pluggable and extensible so we can deal with the attendant complexities more easily.

This moves "Iterated MD5" to a modular implementation, and adds a tiny bit of hack-glue so we don't need to migrate the DB in this patch. I'll migrate in the next patch, then add bcrypt.

Test Plan:
  - Verified that the same stuff gets stored in the DB (i.e., no functional changes):
    - Logged into an old password account.
    - Changed password.
    - Registered a new account.
    - Changed password.
    - Switched back to master.
    - Logged in / out, changed password.
    - Switched back, logged in.
  - Ran unit tests (they aren't super extensive, but cover some of the basics).

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, kofalt

Maniphest Tasks: T4443

Differential Revision: https://secure.phabricator.com/D8268
2014-02-18 14:09:36 -08:00
..
__tests__ Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorExternalAccount.php Explain policy exception rules to users 2013-09-27 08:43:41 -07:00
PhabricatorRegistrationProfile.php New Registration Workflow 2013-06-16 10:13:49 -07:00
PhabricatorUser.php Make password hashing modular 2014-02-18 14:09:36 -08:00
PhabricatorUserConfiguredCustomFieldStorage.php Support configuration-driven custom fields 2013-08-14 12:33:53 -07:00
PhabricatorUserCustomFieldNumericIndex.php Integrate ApplicationSearch with CustomField 2013-09-16 13:44:34 -07:00
PhabricatorUserCustomFieldStringIndex.php Integrate ApplicationSearch with CustomField 2013-09-16 13:44:34 -07:00
PhabricatorUserDAO.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorUserEmail.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorUserLog.php Issue "anonymous" sessions for logged-out users 2014-01-23 14:03:22 -08:00
PhabricatorUserProfile.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorUserTransaction.php Remove getApplicationObjectTypeName from ApplicationTransactions 2013-08-21 12:32:06 -07:00