Finds common flaws in passwords. Like cracklib, but written in Go.
Finds common flaws in passwords. Like cracklib, but written in Go.
Finds common flaws in passwords. Like cracklib, but written in Go.
Detects:
ErrEmpty: Empty passwordsErrTooShort: Too short passwordsErrNoDigits: Password does not contain any digitsErrNoSymbols: Password does not contain any special charactersErrTooFewChars: Too few different characters, like "aabbccdd"ErrTooSystematic: Systematic passwords, like "abcdefgh" or "87654321"ErrDictionary: Passwords from a dictionary / wordlistErrMangledDictionary: Mangled / reversed passwords, like "p@ssw0rd" or "drowssap"ErrHashedDictionary: Hashed dictionary words, like "5f4dcc3b5aa765d61d8327deb882cf99" (the md5sum of "password")ErrFoundHIBP: Optional hash checks against the haveibeenpwned.com databaseYour system dictionaries from /usr/share/dict will be indexed. If no dictionaries were found, crunchy only relies on
the regular sanity checks (ErrEmpty, ErrTooShort, ErrTooFewChars and ErrTooSystematic). On Ubuntu it is
recommended to install the wordlists distributed with cracklib-runtime, on macOS you can install cracklib-words from
brew. You could also install various other language dictionaries or wordlists, e.g. from skullsecurity.org.
crunchy uses the WagnerFischer algorithm to find mangled passwords in your dictionaries.
Make sure you have a working Go environment (Go 1.2 or higher is required). See the install instructions.
To install crunchy, simply run:
go get github.com/muesli/crunchy
…
…
No open issues yet, or sync has not completed.