|
|
|
|
|
by wglb
5097 days ago
|
|
When is it easy to retrofit later? There is a third way that is not poison: No need to reset the passwords at one fell swoop. When you decide to do a new password storage function: New users get the new hash right away. Calculate the new hash and the old hash when the user next logs in. If the old hash matches, the user has logged in, and now calculate the new hash and store it over the old hash in the table. Perhaps make a note in a separate column that the hash has been converted. Eventually, when all users have refreshed their passwords, quietly remove the old way. Zero user involvement. |
|