Page MenuHomePhabricator

Add test coverage to the PasswordEngine upgrade workflow and fix a few bugs
ClosedPublic

Authored by epriestley on Jan 21 2018, 3:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 4, 2:27 PM
Unknown Object (File)
Apr 15 2026, 3:40 AM
Unknown Object (File)
Apr 7 2026, 7:36 PM
Unknown Object (File)
Apr 7 2026, 5:09 PM
Unknown Object (File)
Apr 3 2026, 3:18 AM
Unknown Object (File)
Apr 2 2026, 3:35 AM
Unknown Object (File)
Mar 31 2026, 11:34 AM
Unknown Object (File)
Mar 29 2026, 8:50 AM
Subscribers
None

Details

Summary

Ref T13043. When we verify a password and a better hasher is available, we automatically upgrade the stored hash to the stronger hasher.

Add test coverage for this workflow and fix a few bugs and issues, mostly related to shuffling the old hasher name into the transaction.

This doesn't touch anything user-visible yet.

Test Plan

Ran unit tests.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable