{"id":18320320,"url":"https://github.com/tpm2-software/tpm2-pytss","last_synced_at":"2025-04-08T03:14:51.624Z","repository":{"id":37561840,"uuid":"206660002","full_name":"tpm2-software/tpm2-pytss","owner":"tpm2-software","description":"Python bindings for TSS","archived":false,"fork":false,"pushed_at":"2024-05-29T08:55:14.000Z","size":38231,"stargazers_count":51,"open_issues_count":25,"forks_count":41,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-05-29T11:04:06.422Z","etag":null,"topics":["security","tpm2"],"latest_commit_sha":null,"homepage":"https://tpm2-pytss.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpm2-software.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"docs/contributing.rst","funding":null,"license":"LICENSE","code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-05T21:25:34.000Z","updated_at":"2024-06-07T20:03:05.883Z","dependencies_parsed_at":"2024-05-28T23:06:47.809Z","dependency_job_id":"f7582535-f7b0-469c-bc52-4da71daf4c15","html_url":"https://github.com/tpm2-software/tpm2-pytss","commit_stats":{"total_commits":1040,"total_committers":16,"mean_commits":65.0,"dds":0.3817307692307692,"last_synced_commit":"0d68ddff77550f85a7ebf14b4dc32412bcca58e1"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpm2-software%2Ftpm2-pytss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpm2-software%2Ftpm2-pytss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpm2-software%2Ftpm2-pytss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpm2-software%2Ftpm2-pytss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpm2-software","download_url":"https://codeload.github.com/tpm2-software/tpm2-pytss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247767236,"owners_count":20992548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["security","tpm2"],"created_at":"2024-11-05T18:15:54.720Z","updated_at":"2025-04-08T03:14:51.586Z","avatar_url":"https://github.com/tpm2-software.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tpm2-pytss\n[![Tests](https://github.com/tpm2-software/tpm2-pytss/actions/workflows/tests.yaml/badge.svg)](https://github.com/tpm2-software/tpm2-pytss/actions/workflows/tests.yaml)\n[![codecov](https://codecov.io/gh/tpm2-software/tpm2-pytss/branch/master/graph/badge.svg?token=Nqs8anZr2B)](https://codecov.io/gh/tpm2-software/tpm2-pytss)\n[![Documentation Status](https://readthedocs.org/projects/tpm2-pytss/badge/?version=latest)](https://tpm2-pytss.readthedocs.io/en/latest/?badge=latest)\n[![CodeQL](https://github.com/tpm2-software/tpm2-pytss/actions/workflows/codeql.yml/badge.svg?branch=master\u0026event=push)](https://github.com/tpm2-software/tpm2-pytss/actions/workflows/codeql.yml)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)\n[![PyPI version](https://img.shields.io/pypi/v/tpm2-pytss.svg)](https://pypi.org/project/tpm2-pytss)\n\nTPM2 TSS Python bindings for Enhanced System API (ESYS), Feature API (FAPI), Marshaling (MU), TCTI\nLoader (TCTILdr), TCTIs, policy, and RC Decoding (rcdecode) libraries. It allows for custom TCTIs\nwritten in Python as well. It also contains utility methods for wrapping keys to TPM 2.0 data\nstructures for importation into the TPM, unwrapping keys and exporting them from the TPM, TPM-less\nmakecredential command and name calculations, TSS2 PEM Key format support, importing Keys from PEM,\nDER and SSH formats, conversion from tpm2-tools based command line strings and loading tpm2-tools\ncontext files.\n\n## Documentation\n\nDocumentation for the latest release is hosted at\nhttps://tpm2-pytss.readthedocs.io/en/latest/index.html\n\n## Installing\n\nTo install the master branch:\n```bash\npython3 -m pip install git+https://github.com/tpm2-software/tpm2-pytss.git\n```\n\nTo install latest stable from PyPi:\n```bash\npython3 -m pip install tpm2-pytss\n```\n**NOTE**: You may need option `--user` or sitewide permissions through something like `sudo`.\n\nThis is known to work with versions 2.4.0 of tpm2-tss or higher.\n\n## Help\n\n- Ask a question via an [issue](https://github.com/tpm2-software/tpm2-pytss/issues/new)\n- Send an email to the tpm2 list:\n    - https://lists.linuxfoundation.org/mailman/listinfo/tpm2\n- File a Security Bug by following the instructions in [docs/SECURITY.md](docs/SECURITY.md)\n\n## License\n\ntpm2-pytss is distributed under the [BSD 2 Clause License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpm2-software%2Ftpm2-pytss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpm2-software%2Ftpm2-pytss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpm2-software%2Ftpm2-pytss/lists"}