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
Hashes for python_jose_TPM-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9461bad0bedf176aa332ef53cc07367e09eea4848ebd9ede3b57f4c8442273e |
|
MD5 | d662039aae957f7c8f393ea85d661dbc |
|
BLAKE2b-256 | a31bb5c71d9e35bb9601eb67e5cfe3257812122937a555e10f78eae5b4f65dac |