https://github.com/tpm2-software/tpm2-pytss
Python bindings for TSS
https://github.com/tpm2-software/tpm2-pytss
security tpm2
Last synced: 23 days ago
JSON representation
Python bindings for TSS
- Host: GitHub
- URL: https://github.com/tpm2-software/tpm2-pytss
- Owner: tpm2-software
- License: bsd-2-clause
- Created: 2019-09-05T21:25:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-29T08:55:14.000Z (11 months ago)
- Last Synced: 2024-05-29T11:04:06.422Z (11 months ago)
- Topics: security, tpm2
- Language: Python
- Homepage: https://tpm2-pytss.readthedocs.io/en/latest/
- Size: 36.5 MB
- Stars: 51
- Watchers: 13
- Forks: 41
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: docs/contributing.rst
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
- Security: docs/SECURITY.md
Awesome Lists containing this project
README
# tpm2-pytss
[](https://github.com/tpm2-software/tpm2-pytss/actions/workflows/tests.yaml)
[](https://codecov.io/gh/tpm2-software/tpm2-pytss)
[](https://tpm2-pytss.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/tpm2-software/tpm2-pytss/actions/workflows/codeql.yml)
[](https://github.com/python/black)
[](https://pypi.org/project/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:
```bash
python3 -m pip install git+https://github.com/tpm2-software/tpm2-pytss.git
```To install latest stable from PyPi:
```bash
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](https://github.com/tpm2-software/tpm2-pytss/issues/new)
- Send an email to the tpm2 list:
- https://lists.linuxfoundation.org/mailman/listinfo/tpm2
- File a Security Bug by following the instructions in [docs/SECURITY.md](docs/SECURITY.md)## License
tpm2-pytss is distributed under the [BSD 2 Clause License](LICENSE).