1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-04 08:29:18 +01:00
phorge-phorge/src/applications/people
epriestley 21e415299f Mark all existing password hashes as "legacy" and start upgrading digest formats
Summary:
Depends on D18907. Ref T13043. Ref T12509. We have some weird old password digest behavior that isn't terribly concerning, but also isn't great.

Specifically, old passwords were digested in weird ways before being hashed. Notably, account passwords were digested with usernames, so your password stops working if your username is chagned. Not the end of the world, but silly.

Mark all existing hashes as "v1", and automatically upgrade then when they're used or changed. Some day, far in the future, we could stop supporting these legacy digests and delete the code and passwords and just issue upgrade advice ("Passwords which haven't been used in more than two years no longer work."). But at least get things on a path toward sane, modern behavior.

Test Plan: Ran migration. Spot-checked that everthing in the database got marked as "v1". Used an existing password to login successfully. Verified that it was upgraded to a `null` (modern) digest. Logged in with it again.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13043, T12509

Differential Revision: https://secure.phabricator.com/D18908
2018-01-23 14:01:09 -08:00
..
application Add Revisions to User Profiles 2017-05-21 09:24:37 -07:00
cache Remove "participationStatus" from ConpherenceParticipant 2017-04-19 13:58:42 -07:00
capability People - refine permissions on creating new users 2015-02-05 16:47:09 -08:00
conduit Mark "v3" API methods as stable; mark obsoleted methods as "Frozen" 2017-01-09 07:16:27 -08:00
config Move "wild" config types to new code 2017-06-27 12:34:56 -07:00
controller Update people edit pages UI 2017-09-07 12:47:24 -07:00
customfield Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
editor Move account passwords to shared infrastructure 2018-01-23 13:43:07 -08:00
engine Add Revisions to User Profiles 2017-05-21 09:24:37 -07:00
engineextension Restore the "Log In" menubar action 2017-12-05 12:13:10 -08:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
guidance Add a bunch of Phacility-specific code to the upstream, thinly veiled as generic code 2016-11-15 09:11:22 -08:00
icon Add additional icons for User Profiles 2016-01-31 20:09:06 +00:00
lipsum Make bin/lipsum generate hanldle generator keys and arguments more clearly 2017-02-27 09:09:28 -08:00
management Auto-generate profile images for sad psyducks 2017-03-05 08:25:02 -08:00
markup Fix spelling 2017-10-09 10:48:04 -07:00
menuitem Add Revisions to User Profiles 2017-05-21 09:24:37 -07:00
phid Use grey dots for disabled users, even if a user is also unverified 2017-04-30 13:10:00 -07:00
policyrule Move some files around 2015-11-17 06:26:13 +11:00
query Fix spelling 2017-10-09 10:48:04 -07:00
search Reduce the amount of boilerplate that implementing FerretInterface requires 2017-09-07 13:23:31 -07:00
searchfield Add basic typechecking support to Conduit 2015-12-14 04:21:39 -08:00
storage Mark all existing password hashes as "legacy" and start upgrading digest formats 2018-01-23 14:01:09 -08:00
typeahead Separate sever-side typeahead queries into "prefix" and "content" phases 2016-11-10 08:54:59 -08:00
view Search and Replace calls to setShade 2017-05-22 18:59:53 +00:00