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)
Tue, Feb 25, 5:33 AM
Unknown Object (File)
Mon, Feb 24, 1:04 AM
Unknown Object (File)
Mon, Feb 24, 1:03 AM
Unknown Object (File)
Mon, Feb 24, 1:01 AM
Unknown Object (File)
Mon, Feb 24, 1:00 AM
Unknown Object (File)
Mon, Feb 24, 12:35 AM
Unknown Object (File)
Mon, Feb 24, 12:33 AM
Unknown Object (File)
Feb 9 2025, 4:59 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
Branch
revoke7
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19099
Build 25779: Run Core Tests
Build 25778: arc lint + arc unit