by adaboese on 2/2/24, 12:31 AM with 0 comments
https://gist.github.com/adaboese/bcde05aa8294924cc1f85718e197c024
TLDR
* fails if password contains the email
* fails if password is too short (<8)
* fails if password starts with a whitespace
* fails if password ends with a whitespace
* fails if password is not diverse enough (e.g. foofoofoo)
* fails if password only contains numbers
* fails if password contains common sequences (e.g. 123 or asdf) [this is really only so I could remove a bunch of passwords from the next dictionary-based step]
* fails if password contains common passwords (based on 10k most popular passwords)