TPM based python JOSE implementation
Project description
python-jose-TPM
A JOSE implementation in Phython 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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6536f47176b03ac5b449b1cb21ab2a28fce5003b584b3849d907b638b66a6d2f |
|
MD5 | b2231b398d38fb69103b6a5140ca14cc |
|
BLAKE2b-256 | ec304f008542c9fc8de67e914ef8f4513b26db1896a5cf0f70ca219a7e6ce8a8 |