-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[frontend] Adding the use of Argon2id for password hashing #978
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
1f60e8e
Renaming hash_password() function into hash_password_sha512()
AlexandreDoneux b6f4a11
[frontend/user_manager] Adding hash_password_argon2id() function
AlexandreDoneux f5f3ca5
Changing hashing algorithm for all new passwords to argon2id
AlexandreDoneux 36828b7
[frontend/user_manager] Allowing authentication for both password has…
AlexandreDoneux 6b1fdef
[frontend/user_manager] Fixing the authentication with argon2
AlexandreDoneux 144909a
[frontend/profile] Changing hash algorithm for password change in use…
AlexandreDoneux 4ea7a67
[frontend/user_manager] Creating hash_password function to encapsulat…
AlexandreDoneux f4ae2c8
[frontend/user_manager] Checking password hash in auth_user with used…
AlexandreDoneux e889b21
[frontend/profile] Using UserManager.auth_user() during password change
AlexandreDoneux c571543
[setup] Adding argon2 package
AlexandreDoneux a225ace
[frontend/user_manager] refactoring password hash verification to mak…
AlexandreDoneux 6db227b
[frontend/user_manager] Small structure changes after PR comments
AlexandreDoneux 8990512
[frontend/profile] Fixing users without password couldn't define new …
AlexandreDoneux 92bd35f
[frontend/user_manager] Moving method prepending to hash_password
AlexandreDoneux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ | |
"Werkzeug==3.0.1", | ||
"WsgiDAV==4.3.0", | ||
"zipstream==1.1.4" | ||
"argon2-cffi == 23.1.0" | ||
] | ||
|
||
test_requires = [ | ||
|
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a little bit confused with prior code already, but can you confirm that a user with no password (registered through social networks for instance) can actually set a password to use password authentication ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They can now. I changed the structure for handling user password change in this PR. Tell me if your ok with it.