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

Multiple hashing algorithm option #68

Merged
merged 1 commit into from
Aug 8, 2019
Merged

Multiple hashing algorithm option #68

merged 1 commit into from
Aug 8, 2019

Conversation

fefo-p
Copy link
Contributor

@fefo-p fefo-p commented Aug 7, 2019

Added option in auth config to select which kind of algorithm to use.
Both default and bcrypt algorithms use cost parameter which was already configurable.
Argon2i has other options, with are set to defaults in config file, but are checked in Entity::User in the setPassword method.
Password_needs_rehash method in LocalAuthenticator behaved correctly when config algorithm option was changed, updating the user's password correctly on first login -after the config change-.

@lonnieezell lonnieezell merged commit 0488b09 into lonnieezell:develop Aug 8, 2019
@fefo-p fefo-p deleted the multiple-hashing-algorithms-option branch August 8, 2019 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants