Skip to content
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

Replace our own PasswordHasher with BCryptPasswordEncoder in budgeteer-web-interface #530

Open
czarnecki opened this issue Feb 22, 2022 · 0 comments

Comments

@czarnecki
Copy link
Member

The budgeteer-web-interface currently uses SHA-512 without any salt to hash passwords. This isn't optimal since it's possible to lookup the unhashed passwords using a rainbow table. As such we should strive to use a better method of hashing passwords, like the BCryptPasswordEncoder provided by Spring Security.
As part of this effort we also need to rehash passwords that are still hashed using the old hashing algorithm. This check should be done everytime a user logs in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant