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

Adding more repeating characters to password lowers score #2

Open
bergkvist opened this issue Feb 20, 2017 · 2 comments
Open

Adding more repeating characters to password lowers score #2

bergkvist opened this issue Feb 20, 2017 · 2 comments

Comments

@bergkvist
Copy link

bergkvist commented Feb 20, 2017

Expected behaviour:
Adding repetitive characters to the end of a password should slightly increase the total entropy of the password (and thus the score), although not by much.

Actual behaviour:
Adding repetitive characters lowers the score!

Example:
totalEntropy(ar.D4eU[J~Kk_iU$$$$) > totalEntropy(ar.D4eU[J~Kk_iU$$) > totalEntropy(ar.D4eU[J~Kk_iU$)

But the scores are as follows:
strength(ar.D4eU[J~Kk_iU$) = 4.75
strength(ar.D4eU[J~Kk_iU$$) = 4.25
strength(ar.D4eU[J~Kk_iU$$$$) = 3.75

@ruffrey
Copy link
Owner

ruffrey commented Feb 21, 2017

Wow, didn't realize anybody was still using this. I'd be happy to accept a PR. I might try to add this, but make no promises ;)

@niftylettuce
Copy link

Related forwardemail/forwardemail.net#13

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

3 participants