passwdqc

Password strength checker and enforcer for secure password policies

brewmacoslinux
Try with needOr install directly
Source

About

Password/passphrase strength checking and enforcement toolset

Commands

pwqcheckpwqgen

Examples

Check if a password meets strength requirements$ pwqcheck
Generate a random passphrase meeting security criteria$ pwqgen
Validate password against custom configuration rules$ pwqcheck -1