Dane Jwe Jws 0.12 | Coderz Product

dane-jwe-jws 0.12

Last updated:

0 purchases

dane-jwe-jws 0.12 Image
dane-jwe-jws 0.12 Images

Free

Languages

Categories

Add to Cart

Description:

danejwejws 0.12

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)
More examples

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.