cracklib

Password strength checking library for validating password quality

brewmacoslinux
Try with needOr install directly
Source

About

LibCrack password checking library

Commands

cracklib-checkcracklib-formatcracklib-pwordchk

Examples

Check if a password is strong enough$ echo 'mypassword' | cracklib-check
Verify password against cracklib dictionary$ cracklib-check < /dev/stdin
Format cracklib dictionary for use$ cracklib-format /path/to/wordlist /var/cache/cracklib/pw_dict