Repository navigation
fix: Update password hash algoritm. - #1993
Merged
SandPod merged 20 commits intoMar 11, 2024
Merged
Conversation
SandPod
force-pushed
the
update-password-hash-algoritm
branch
from
March 6, 2024 12:31
b03dc35 to
65ae01b
Compare
SandPod
force-pushed
the
update-password-hash-algoritm
branch
from
March 6, 2024 12:49
65ae01b to
152b58f
Compare
SandPod
marked this pull request as ready for review
March 6, 2024 14:21
SandPod
commented
Mar 7, 2024
Isakdl
requested changes
Mar 7, 2024
Isakdl
left a comment
Collaborator
There was a problem hiding this comment.
Very nice update, need to get this in!
Some comments in the code.
One thought I have do we also want to create a "reset password" method too? I mean that force resets for all users that is using the old method.
How are these methods intended to be used? Called manually in whatever way the user want? Would it be reasonable to support a flag?
SandPod
commented
Mar 8, 2024
8 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Guidance for review.
Best reviewed commit by commit.
I made some refactoring for the authentication module to enable integration testing on the hash upgrade logic.
Pre-launch Checklist
///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.If you need help, consider asking for advice on the discussion board.
Breaking changes
None - This change works with users existing stored passwords and will ensure that future passwords are saved with the safer hashing algorithm.