Skip to main content

TPM 2.0 TSS Bindings for Python

Project description

tpm2-pytss

Tests codecov Documentation Status Total alerts Language grade: Python Code style: black PyPI version

TPM2 TSS Python bindings for Enhanced System API (ESYS), Feature API (FAPI), Marshaling (MU), TCTI Loader (TCTILdr) and RC Decoding (rcdecode) libraries. 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-ptss

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.

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

tpm2-pytss-1.1.0rc0.tar.gz (163.7 kB view details)

Uploaded Source

File details

Details for the file tpm2-pytss-1.1.0rc0.tar.gz.

File metadata

  • Download URL: tpm2-pytss-1.1.0rc0.tar.gz
  • Upload date:
  • Size: 163.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15

File hashes

Hashes for tpm2-pytss-1.1.0rc0.tar.gz
Algorithm Hash digest
SHA256 9c06430a690b32e636deb70faa9f4352621383097fcb429d58f70c386f35c56b
MD5 88919a0b90fb05820fc453a918287868
BLAKE2b-256 3e360ded169edae3507358ffadc2873ca003510397f70b0dc6befad92baabe47

See more details on using hashes here.

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