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

Score not matching with javascript version #182

Open
em4git opened this issue Nov 6, 2024 · 1 comment
Open

Score not matching with javascript version #182

em4git opened this issue Nov 6, 2024 · 1 comment

Comments

@em4git
Copy link

em4git commented Nov 6, 2024

Hi, the following below passwords are giving a higher score in the zxcvbn javascript library than in the java library. The discrepancy seems to be happening with 2020-2029 years. Once I hit 2030 and up, both scores are 2 where as 2019 and below are both score = 1. I using the java library to verify on backend so would need the score to match with the UI using the javascript.

bengal2023 javascript = 2, java = 1
boozer2020 javascript = 2, java = 1
cali2023 javascript = 2, java = 1
cary2021 javascript = 2, java = 1
Bobb!2020 = 2 in javascript, 1 in java

@em4git
Copy link
Author

em4git commented Nov 8, 2024

Added the years into the javascript custom dictionary as a workaround.

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