dane_jwe_jws
A library for using JWE and JWS with DANE for identity-secured messaging.
This library enables the easy generation of signed and encrypted messages, using TLSA records in DNS for public key discovery. This library places the DNS URI in the x5u protected header field. The receiving party uses this field for discovering the public key which is used for verifying message payload.
Note: Currently, only RSA public keys are supported (RSA-OAEP-256 for encryption and RS256 for signing)
Quick Start
Installation
pip install dane-jwe-jws
Encrypt a message using a DANE-represented identity
from dane_jwe_jws.encryption import Encryption
test_message = "hello world!!"
identity_name = "dns.name.where.cert.lives.in.a.tlsa.record"
encrypted = Encryption.encrypt(test_message, identity_name)
print(encrypted)
Metadata
Release files for dane-jwe-jws 0.12
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 |
|---|---|---|---|---|
| dane_jwe_jws-0.12.tar.gz | 6.4 kB | Without provenance | Details for dane_jwe_jws-0.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dane_jwe_jws-0.12-py3-none-any.whl | Python 3 | none | any | Details for dane_jwe_jws-0.12-py3-none-any.whl |
Total release size: 12.7 kB
Release files / dane_jwe_jws-0.12.tar.gz
| Download URL | dane_jwe_jws-0.12.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34d9aea4f9910ba5f7c915fce9f686758e867929add364205144750a674a804f
|
|
BLAKE2b-256 checksum How to use checksums |
6db637ef852444f11531d6fb4bff4372d3b1f1bd198e7097d65f72cc34594d46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / dane_jwe_jws-0.12-py3-none-any.whl
| Download URL | dane_jwe_jws-0.12-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f01f0af79e0a993d6c496d9fc92df44ed5012777f6d56ba1818fe96c03d0abf
|
|
BLAKE2b-256 checksum How to use checksums |
f7f7d3253bc39a747d7e9d8f4993a1bd317fe52ecb426c1bacfe94b189fe9e7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Security for dane-jwe-jws 0.12
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.