Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-jose-TPM-0.1.1.tar.gz (25.7 kB view hashes)

Uploaded Source

Built Distribution

python_jose_TPM-0.1.1-py3-none-any.whl (32.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page