TPM 2.0 TSS Bindings for Python
Project description
tpm2-pytss
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
- Ask a question via an issue
- Send an email to the tpm2 list:
- File a Security Bug by following the instructions in docs/SECURITY.md
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
File details
Details for the file tpm2-pytss-2.3.0.tar.gz
.
File metadata
- Download URL: tpm2-pytss-2.3.0.tar.gz
- Upload date:
- Size: 213.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20071129379656f5f3c3bc16d364612672b147d81191fb4eb9f9ff9fbee48410 |
|
MD5 | 241696dfce31c539ae418a5d3587b945 |
|
BLAKE2b-256 | 071f0f2521440e330342ef757a6605b61e1dbf5fe47fd97397c6e5f02791d520 |