31 releases
0.5.6 | Sep 23, 2022 |
---|---|
0.5.4 | Jan 23, 2022 |
0.5.3 | Jun 2, 2021 |
0.5.2 | Jan 31, 2021 |
0.0.9 | Jul 21, 2018 |
#1497 in Command line utilities
17KB
297 lines
checkpwn
Check Have I Been Pwned and see if it's time for you to change passwords.
Getting started
Install:
cargo install checkpwn
Update:
cargo install --force checkpwn
Register & update API key:
checkpwn register 123456789
This command creates a checkpwn.yml
configuration file in the users configuration directory,
which saves the API key. This is needed for all calls to the account API (checkpwn acc
).
Check an account, or list of accounts, for breaches:
checkpwn acc test@example.com
checkpwn acc daily_breach_check.ls
NOTE: List files must have the .ls file extension.
When checking accounts, they will be run against both the HIBP "paste" and "account" database.
Check a password:
checkpwn pass
Changelog
See here.
License
checkpwn is licensed under the MIT license. See the LICENSE
file for more information.
Dependencies
~12–25MB
~397K SLoC