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)
Mon, May 26, 7:35 PM
Unknown Object (File)
Sun, May 25, 4:29 PM
Unknown Object (File)
Sat, May 24, 3:57 PM
Unknown Object (File)
Wed, May 7, 4:07 PM
Unknown Object (File)
Apr 26 2025, 6:39 PM
Unknown Object (File)
Apr 21 2025, 3:05 PM
Unknown Object (File)
Apr 20 2025, 11:52 AM
Unknown Object (File)
Apr 13 2025, 2:14 PM
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