HomePhorge

Consolidate password verification/revocation logic in a new…

Description

Consolidate password verification/revocation logic in a new PhabricatorAuthPasswordEngine

Summary:
Ref T13043. This provides a new piece of shared infrastructure that VCS passwords and account passwords can use to validate passwords that users enter.

This isn't reachable by anything yet.

The test coverage of the "upgrade" flow (where we rehash a password to use a stronger hasher) isn't great in this diff, I'll expand that in the next change and then start migrating things.

Test Plan: Added a bunch of unit tests.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13043

Differential Revision: https://secure.phabricator.com/D18896

Details

Provenance
epriestleyAuthored on Jan 20 2018, 7:22 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP42e2cd9af02e: Add a "--force" flag to `bin/auth revoke`
Branches
Unknown
Tags
Unknown

Event Timeline