thewhiteh4t / pwnedOrNot

OSINT Tool for Finding Passwords of Compromised Email Addresses
MIT License
2.18k stars 318 forks source link

API Key formatting #37

Closed katvvisdom closed 5 years ago

katvvisdom commented 5 years ago

Forgive me if this discussed elsewhere. I'm getting an error during the execution: "{ "statusCode": 401, "message": "Access denied due to improperly formed hibp-api-key." }" I simply copied the key off the receipt page and pasted into the prompt. I've deleted key.txt a couple times to try again. No go. Thanks

thewhiteh4t commented 5 years ago

@klaritykarrot I have updated, please try again, it should work now... cd pwnedornot git pull

fsociety699 commented 4 years ago

An Unknown Error Occurred { "statusCode": 401, "message": "Access denied due to improperly formed hibp-api-key." }

fsociety699 commented 4 years ago

@klaritykarrot I have updated, please try again, it should work now... cd pwnedornot git pull An Unknown Error Occurred { "statusCode": 401, "message": "Access denied due to improperly formed hibp-api-key." }

thewhiteh4t commented 4 years ago

@fsociety699 try to type in the api key

Vedecguru commented 4 years ago

where is the Key to enter?

bezzoh commented 4 years ago

I have the same issue, but it was down to a mis-type of the API Key. How can I change/update this? Rather than being prompted to re-input my key I just get told its improperly formatted.

Thank you

thewhiteh4t commented 4 years ago

@bezzoh inside pwnedornot directory you will see key.txt, you can make changes in that file

thewhiteh4t commented 4 years ago

@bezzoh if you copy paste it, sometimes a new line gets added, maybe that is the issue in your case

bezzoh commented 4 years ago

All sorted, thanks for your help