Check whether a password exists in haveibeenpwned database. Either provide a single password as a cli command, interactively (to hide the password), or pull from a lastpass account.
pip3 install git+https://github.com/ctomkow/pwned.git
-
git clone git+https://github.com/ctomkow/pwned.git -
cd pwned && python3 setup.py install
-
python3 -m virtualenv venv -
source venv/bin/activate -
pip3 install git+https://github.com/ctomkow/pwned.git
sudo pip3 install git+https://github.com/ctomkow/pwned.git
-
pwned --help -
pwned password -i -
pwned lastpass -u username@domain.com -i -h
For development, use virtualenv for testing (even with an IDE such as PyCharm).
Simply, have a terminal in the venv instance, and python3 setup.py install, to test the cli.