{"repo":"xmatthias/pywnedpasswords","free":true,"listed":false,"github":"https://github.com/xmatthias/pywnedpasswords","clone":"git clone https://github.com/xmatthias/pywnedpasswords.git","description":"Checkt pwnedpasswords.com in a secure way","language":"Python","stars":33,"topics":["python3","pwnedpasswords","password","api-client"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"pywnedPasswords This script uses the pwnedpasswords.com v2 api to check your password in a secure way (using the K-anonymity method) The full Hash is never transmitted over the wire, only the first 5 characters. The comparison happens offline. Special thanks to Troy Hunt (@troyhunt) for making this project possible. Installation Usage Interactive Insert your password when asked. the output will either be: Password to check: Found your password 47205 times. or in case your password is secure Password to check: Your password did not appear in PwnedPasswords yet. Passing the password as a command line argument Discouraged - as it might leaves the password in your shell history Found your password 46980 times. Piping the password Discouraged - as it might leaves the password in your shell history Found your password 46980 times. Reading passwords from a file Result is in the form: : . 0 meaning the password is not known from Have I Been Pwned yet. Exit code The pywnedpasswords exits with code 2 if the password is know of Have I Been Pwned already, and exit code 0 otherwise.","default_branch":null,"files":null,"tree":[],"storefront":"/r/xmatthias","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/xmatthias/pywnedpasswords/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}