No description
Find a file
2025-03-28 18:23:19 +04:00
.github Create FUNDING.yml 2025-03-28 18:23:19 +04:00
src fix static 2022-08-13 01:21:19 +04:00
.gitignore fix static 2022-08-13 01:21:19 +04:00
LICENSE Fix Readme, remove .exe from git 2022-07-09 17:00:31 +04:00
pwnedpass.nimble fix warning label spaces 2022-07-09 17:11:22 +04:00
readme.md fix warning label spaces 2022-07-09 17:11:22 +04:00

pwnedpass

       __          __ __    __      __ __
      |__)|  ||\ ||_ |  \  |__) /\ (_ (_
      |   |/\|| \||__|__/  |   /--\__)__)
                            v: 2.0.5 @foxoman

A command line utility that lets you check if a passphrase has been pwned using the Pwned Passwords v3 API.

All provided password data is k-anonymized before sending to the API, so plaintext passwords never leave your computer.

** See: https://haveibeenpwned.com/Passwords

see this article for more details.

Installation

First get Nimble. Then run:

nimble install pwnedpass

API

pwnedCheck(passphrase)

Example:

import pwnedpass
let passphrase:string = stdin.readLine()
let occurance = pwnedCheck(passphrase)
echo "pwned: ", $occurance, " Times!"

Usage as binary

$ pwnedpass
> Please enter a passphrase to check if has been pwned: => •••••••••••
> Oh no -- Pwned! Your passphrase was found to be used: => 2 times!
> [**WARN**] => This password has previously appeared in a data breach and should never be used. If you've ever used it anywhere before, change it!