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

Strong password #288

Merged
merged 2 commits into from
May 24, 2021
Merged

Strong password #288

merged 2 commits into from
May 24, 2021

Conversation

danielmbrasil
Copy link
Collaborator

Require stronger password - Closes #285

Using strong_password gem to calculate password entropy and check it against a password dictionary. This increases password strength as users will not be able to use commonly used passwords such as "passworD12" that would be accepted by our previous validation.

Minimum entropy: 25 bits
Password Dictionary length: 500 words

Disadvantage: might not be good for user experience as they might have to try many times to enter a strong password. The value of minimum entropy can be changed, but it might affect security if set to a value smaller than 20. Check this.

set minimum entropy to 25, check password agaisnt default dictionary
@danielmbrasil danielmbrasil added the enhancement New feature or request label May 21, 2021
@danielmbrasil danielmbrasil requested a review from Utzig26 May 21, 2021 21:59
@danielmbrasil danielmbrasil changed the title Strong passowrd Strong password May 22, 2021
@Utzig26
Copy link
Collaborator

Utzig26 commented May 24, 2021

It looks better than before. Again, following our refactoring rules, it is not the time to make it Async, but I create the #299 issue

image image

@Utzig26 Utzig26 merged commit 4785e14 into master May 24, 2021
@Utzig26 Utzig26 deleted the 285-strong-password branch May 24, 2021 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve password strength check.
2 participants