TPM based python JOSE implementation
Project description
python-jose-TPM
A JOSE implementation in Python that uses a TPM for crpytographic operations.
General information
This package depends on the tpm2-pytss library. Go to https://tpm2-pytss.readthedocs.io/en/latest/install.html and look how to set it up.
Installation
$ pip install python-jose-TPM
Usage
from python_jose_TPM import jwe, jwt
Supported Algorithms
For JWS the following signature algorithms (alg
parameter values) are supported:
- RS256
For JWE the following content encryption key algorithms (alg
parameter values) are supported:
- DIR
- RSA1_5
For JWE the following content encryption algorithms (enc
parameter values) are supported:
- A128CBC-HS256
More algorithms will be implemented in the future.
Thanks
This library is based on the work of python-jose from Michael Davis.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python-jose-TPM-0.1.1.tar.gz
.
File metadata
- Download URL: python-jose-TPM-0.1.1.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce756fe37a87b0bc609b3914dfc104d802e7006db88fbfb652bb409b633421cf |
|
MD5 | ddc3cf99eafe136cd2be199c781611d9 |
|
BLAKE2b-256 | de5ca45c0b3633238c0c98471c7aba8aa98d527531751919222968a0ab6f9cb2 |
File details
Details for the file python_jose_TPM-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: python_jose_TPM-0.1.1-py3-none-any.whl
- Upload date:
- Size: 32.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9461bad0bedf176aa332ef53cc07367e09eea4848ebd9ede3b57f4c8442273e |
|
MD5 | d662039aae957f7c8f393ea85d661dbc |
|
BLAKE2b-256 | a31bb5c71d9e35bb9601eb67e5cfe3257812122937a555e10f78eae5b4f65dac |