Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

tpm2-pytss

Tests codecov Documentation Status CodeQL Code style: black PyPI version

TPM2 TSS Python bindings for Enhanced System API (ESYS), Feature API (FAPI), Marshaling (MU), TCTI Loader (TCTILdr), TCTIs, policy, and RC Decoding (rcdecode) libraries. It allows for custom TCTIs written in Python as well. It also contains utility methods for wrapping keys to TPM 2.0 data structures for importation into the TPM, unwrapping keys and exporting them from the TPM, TPM-less makecredential command and name calculations, TSS2 PEM Key format support, importing Keys from PEM, DER and SSH formats, conversion from tpm2-tools based command line strings and loading tpm2-tools context files.

Documentation

Documentation for the latest release is hosted at https://tpm2-pytss.readthedocs.io/en/latest/index.html

Installing

To install the master branch:

python3 -m pip install git+https://github.com/tpm2-software/tpm2-pytss.git

To install latest stable from PyPi:

python3 -m pip install tpm2-pytss

NOTE: You may need option --user or sitewide permissions through something like sudo.

This is known to work with versions 2.4.0 of tpm2-tss or higher.

Help

License

tpm2-pytss is distributed under the BSD 2 Clause License.

Download files

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

Source Distribution

tpm2_pytss-3.0.0rc1.tar.gz (215.3 kB view details)

Uploaded Source

File details

Details for the file tpm2_pytss-3.0.0rc1.tar.gz.

File metadata

  • Download URL: tpm2_pytss-3.0.0rc1.tar.gz
  • Upload date:
  • Size: 215.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for tpm2_pytss-3.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 f568fb44a8dc8c2ccfaa5b00e0fc60546401bea40ab80346dad31bfdc2378a11
MD5 41ca52da9b35e8e31a8aadf049ca70c3
BLAKE2b-256 4e9f008788bcf152567e2d6e30c9395b0129a75dc3f189b229f940fa0d6d088b

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page