safepass
Check passwords against https://haveibeenpwned.com/API/v2#PwnedPasswords
Usage
For humans
$ safepass
Password: <enter pwned password (masked)>
NOT SAFE!
$ echo $?
1
$ safepass
Password: <enter not-pwned password (masked)>
SAFE!
$ echo $?
0
For scripting
Note: scripting mode intended for situations where command history is not saved. Please use above interactive mode if checking directly in command line.
$ safepass $PASSWORD
API
>>> from safepass import safepass
>>> result=safepass(PWNED_PASSWORD)
NOT SAFE!
>>> result
False
>>> result=safepass(NOT_PWNED_PASSWORD)
SAFE!
>>> result
True
Metadata
Release files for safepass 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| safepass-1.0.8.tar.gz | 2.3 kB | Without provenance | Details for safepass-1.0.8.tar.gz |
Release files / safepass-1.0.8.tar.gz
| Download URL | safepass-1.0.8.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16be2777c63942b8a226e7082271b0ab253089153812f78e6ee64e7ed4b9a9a9
|
|
BLAKE2b-256 checksum How to use checksums |
45276f86c2084dc6be7906dc5dddfd8ef3b3525159e586ea75c4271f4be7b878
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for safepass 1.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.