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

Feature: entropy based password required #65

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Codycody31
Copy link
Contributor

closes #47

Makes use of https://github.com/wagslane/go-password-validator with a default minimum entropy of 60. This is mainly to prevent people from using standard weak passwords. However, if https://github.com/nbutton23/zxcvbn-go that could probably be used also, I just don't know how to.

@previnder
Copy link
Member

@Codycody31 Could you update the PR to make the password requirement optional? Read the recent discussion in #47.

@Codycody31
Copy link
Contributor Author

@previnder, just fixed it, now has an optional config key that defaults to false for the usage of password entropy.

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.

[feature request] entropy & logic based password strength requirements
2 participants