dropbox / zxcvbn

Low-Budget Password Strength Estimation
https://www.usenix.org/conference/usenixsecurity16/technical-sessions/presentation/wheeler
MIT License
15.08k stars 942 forks source link

recent year regex is... out of date. #318

Open matthewhively opened 2 years ago

matthewhively commented 2 years ago

Currently it is set to

REGEXEN = {
  recent_year: /19\d\d|200\d|201\d/g
};

it looks like it needs to be updated to include 202X

REGEXEN = {
  recent_year: /19\d\d|20[012]\d/g
};

Although that will only last a bit over 7 more years that should be enough time to figure out an even better regex update :)

ritikBhandari commented 2 years ago

hi, Can i be assigned to resolved this issue?

ritikBhandari commented 2 years ago

I have opened a pull request regarding the same.

hi, Can i be assigned to resolved this issue?