Short authentication strings for Python
This package implements rendering of short authenticated strings, which you can use in your application after an unauthenticated exchange such as a Diffie-Hellman process.
The usual way in which this works is, both sides of the exchange display (hopefully) the same sequence based on the shared key (or a derivative of it), indicating that the shared key is, in fact, shared and has not been tampered with by an active man in the middle.
Here is a sample from a Python REPL:
>>> from shortauthstrings import emoji
>>> print(emoji(bytes([4,88,75,34,99,124])))
🍋 🍧 🍝 🌰 🍮 🦝
>>>
A ready-to-go module to perform Diffie-Hellman key agreement can be found in the blindecdh repository.
See module for more documentation.
This package is distributed under the GNU Lesser General Public License v2.1. For relicensing, contact the package author.
Metadata
Release files for shortauthstrings 0.1.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 |
|---|---|---|---|---|
| shortauthstrings-0.1.8.tar.gz | 17.2 kB | Without provenance | Details for shortauthstrings-0.1.8.tar.gz |
Release files / shortauthstrings-0.1.8.tar.gz
| Download URL | shortauthstrings-0.1.8.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d1ccbdd0da898fba92a59647847e3462ea17b050fc975ef188e8045c1d809e6
|
|
BLAKE2b-256 checksum How to use checksums |
b311c00de381eb5aa9148726be8659ce9f46f3ed4e12a1b324370cb8fdfcd1d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4
|
Security for shortauthstrings 0.1.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.