crunchy

Finds common flaws in passwords. Like cracklib, but written in Go.

MIT License

Stars
380
Committers
7

Bot releases are hidden (Show)

crunchy - 0.4.0 Latest Release

Published by muesli over 4 years ago

Changes:

  • Reduced memory footprint
  • Set default timeout for (optional) HTTP calls to haveibeenpwned.com
crunchy - 0.1.0

Published by muesli over 4 years ago

Finds common flaws in passwords. Like cracklib, but written in Go.

Detects:

  • Empty passwords: ErrEmpty
  • Too short passwords: ErrTooShort
  • Too few different characters, like "aabbccdd": ErrTooFewChars
  • Systematic passwords, like "abcdefgh" or "87654321": ErrTooSystematic
  • Passwords from a dictionary / wordlist: ErrDictionary
  • Mangled / reversed passwords, like "p@ssw0rd" or "drowssap": ErrMangledDictionary
  • Hashed dictionary words, like "5f4dcc3b5aa765d61d8327deb882cf99" (the md5sum of "password"): ErrHashedDictionary
crunchy - 0.3.0

Published by muesli over 4 years ago

Features:

  • Optional hash checks against the haveibeenpwned.com database
  • Use Go modules
crunchy - 0.2.0

Published by muesli over 5 years ago

Features:

  • Rate(password) method to rate a password's strength

Fixes:

  • Use UTF8 rune decoding
  • Count unique chars case-insensitively