Improvements to password salt record #2460
Labels
App:Backend
App:Frontend
Kind:Enhancement
Improvements, new features, performance upgrades, etc.
Level:Advanced
Note:Security
Problem
Working on the password change PR gave me two ideas. Currently, there are two minor issues with password salt storage:
With the password change PR (#2446), I introduced atomic updates, so we could use the same mechanism to fix 2 above. Furthermore, if we do it atomically, we could also solve 1, meaning that the salt record can be indexed by contract ID (instead of by username).
However, fixing 1 (changing the index) means that the server DB will need to be updated, or else it won't be possible to log in to existing accounts. It will not mean that contracts need to be recreated, rather a one-time migration job on the SQLite DB would do.
Solution
POST /event
upon redeeming the token).app/identity.js
) to work with these changes.The text was updated successfully, but these errors were encountered: