These scripts automate the process of checking if your password has been pwned. It also includes a utility for gnu-pass users out there.
This script checks if the password string given in parameter has been pwned. It uses the haveibeenpwned.com API.
./pwned.sh [password]
This script looks up every file named password in your gnu pass directory. It then decrypts the password and uses the pwned.sh to check if it has been pwned.
./pass-pwned.sh