Skip Menu |

This queue is for tickets about the Data-Password-zxcvbn CPAN distribution.

Report information
The Basics
Id: 124262
Status: rejected
Priority: 0/
Queue: Data-Password-zxcvbn

People
Owner: Nobody in particular
Requestors: OSCHWALD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Minor differences from the JS implementation
First, thanks so much for providing this library. The code looks to be of high quality and it seems to be a faithful port of the algorithm. While evaluating this library using a list of leaked passwords, I found two minor variations in score: 1. "pool" is 0 in the JS implementation and 1 in the Perl implementation. 2. "quatrain" is 1 in the JS implementation and 2 in the Perl implementation. I didn't dig into these at all. It is possible it is an unavoidable rounding difference or something along those lines, but I thought it was worth raising here. Thank you! Greg
Show quoted text
> While evaluating this library using a list of leaked passwords, I > found two minor variations in score:
Here is a third that I missed the first time around. I mostly raise it as, unlike the other two, the Perl score is lower: 3. "relations" is 1 in the JS implementation and 0 in the Perl implementation.
I suspect the issue is that the dictionary packaged with the JS implementation is malformed, so that some words are not parsed correctly. To compare my implementation with the JS one I had to patch my dictionary ☹