1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 01:38:48 +02:00
phorge-phorge/src
epriestley 580bcd0d2b Implement bcrypt hasher, transparent login upgrade, and explicit upgrade for passwords
Summary:
Ref T4443.

  - Add a `password_hash()`-based bcrypt hasher if `password_hash()` is available.
  - When a user logs in using a password, upgrade their password to the strongest available hash format.
  - On the password settings page:
    - Warn the user if their password uses any algorithm other than the strongest one.
    - Show the algorithm the password uses.
    - Show the best available algorithm.

Test Plan: As an md5 user, viewed password settings page and saw a warning. Logged out. Logged in, got upgraded, no more warning. Changed password, verified database rehash. Logged out, logged in.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4443

Differential Revision: https://secure.phabricator.com/D8270
2014-02-18 14:09:36 -08:00
..
aphront Slightly modernize Aphlict server status page 2014-02-17 16:00:19 -08:00
applications Implement bcrypt hasher, transparent login upgrade, and explicit upgrade for passwords 2014-02-18 14:09:36 -08:00
docs Add styles for WARNING and IMPORTANT 2014-01-23 17:35:30 -08:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Implement bcrypt hasher, transparent login upgrade, and explicit upgrade for passwords 2014-02-18 14:09:36 -08:00
view Modernize Calendar View 2014-02-16 09:25:29 -08:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:51 -08:00
__phutil_library_map__.php Implement bcrypt hasher, transparent login upgrade, and explicit upgrade for passwords 2014-02-18 14:09:36 -08:00