## checkpwn ![Tests](https://github.com/brycx/checkpwn/workflows/Tests/badge.svg) ![Security Audit](https://github.com/brycx/checkpwn/workflows/Security%20Audit/badge.svg) Check [Have I Been Pwned](https://haveibeenpwned.com/) 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](https://github.com/brycx/checkpwn/releases). ### License checkpwn is licensed under the MIT license. See the `LICENSE` file for more information.