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, Nov 18, 6:56 PM
Unknown Object (File)
Sun, Nov 17, 6:33 AM
Unknown Object (File)
Thu, Oct 24, 5:54 AM
Unknown Object (File)
Oct 23 2024, 6:30 AM
Unknown Object (File)
Oct 2 2024, 2:19 PM
Unknown Object (File)
Sep 27 2024, 9:23 PM
Unknown Object (File)
Sep 27 2024, 9:23 PM
Unknown Object (File)
Sep 27 2024, 9:22 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