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

Entropy inexplicably drops from secure to weak #1

Open
judsoniv opened this issue May 10, 2017 · 0 comments
Open

Entropy inexplicably drops from secure to weak #1

judsoniv opened this issue May 10, 2017 · 0 comments

Comments

@judsoniv
Copy link

If I try to use this tool and set a password to …

some things drop in entropy for no reason

The password will gradually increase in strength until it is impenetrable … until you type that last "n" in the passphrase. Then it drops to weak.

The problem is with the unique function. For very long passwords, the uniqueness drops below the threshold. Our solution was to only run that particular check in a conditional. Essentially, we said if there are more than 12 unique characters, returns false. But, if there are 12 or fewer unique characters, go ahead and make sure there is adequate uniqueness (running the check that's currently in the code).

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

No branches or pull requests

1 participant