badkeys

Find common vulnerabilities in cryptographic public keys

brewmacoslinux
Try with needOr install directly
Source

About

Tool to find common vulnerabilities in cryptographic public keys

Commands

badkeys

Examples

Check a single public key file for vulnerabilities$ badkeys --file /path/to/public_key.pem
Scan all authorized_keys for weak or vulnerable keys$ badkeys --file ~/.ssh/authorized_keys
Check a key and display detailed vulnerability information$ badkeys --file /path/to/key.pub --verbose