/tpm2-pytss

Python bindings for TSS

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

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, 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

Releases

Currently no production stable releases are available, however branch master is progressing into a stable point and the version 1.0.0 will come off of that branch. Until then, consider all pypi.org packages and releases below 1.0.0 unstable, deprecated and likely broken. The master branch will be a stable development branch, use with caution.

Installing

To install the master branch:

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

This is known to work with version 2.4.0 of tpm2-tss, testing is underway with more recent versions.

Contributing

See HACKING

Help

License

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