{"id":15886575,"url":"https://github.com/kalloc/pytpm20","last_synced_at":"2025-08-15T21:34:42.334Z","repository":{"id":136768273,"uuid":"203144617","full_name":"kalloc/pytpm20","owner":"kalloc","description":"Simple Python TSS TPM2.0 Binding","archived":false,"fork":false,"pushed_at":"2019-09-29T10:34:01.000Z","size":40,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-22T01:38:29.804Z","etag":null,"topics":["c","python","python3","tpm","tpm2","tpm2-tss"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kalloc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-19T09:46:59.000Z","updated_at":"2019-10-10T16:28:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"f7054929-0aa1-4648-b977-5ef026c223f5","html_url":"https://github.com/kalloc/pytpm20","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kalloc/pytpm20","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalloc%2Fpytpm20","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalloc%2Fpytpm20/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalloc%2Fpytpm20/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalloc%2Fpytpm20/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kalloc","download_url":"https://codeload.github.com/kalloc/pytpm20/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalloc%2Fpytpm20/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270631864,"owners_count":24619384,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["c","python","python3","tpm","tpm2","tpm2-tss"],"created_at":"2024-10-06T05:40:51.605Z","updated_at":"2025-08-15T21:34:42.315Z","avatar_url":"https://github.com/kalloc.png","language":"C","readme":"# Simple TPM 2.0 Wrapper\n\n\n## Requirements\n\n- python-dev \n- gcc\n- tpm2-tss \n- tpm2-tools\n- automake\n- autoconf\n- autoconf-archive\n- openssl\n- libssl-dev\n\n### TPM2-TSS\n\ngit clone https://github.com/tpm2-software/tpm2-tss;\nand install following INSTALL.md instructions\n\n### TPM2-TOOLS\n\ngit clone https://github.com/tpm2-software/tpm2-tools\nand install following INSTALL.md instructions\n\n## Build Python module\n\n```\npython setup.py build -b .build install\n```\n\n## Test\n\n```bash\npython tests/test.py\n```\n\n\n## Usage\n\n\n### Sign\n\n```python\nfrom tpm20 import tpm20\ndata = b\"to be signed data\"\nsignature = tpm20.sign(data)\n```\n\n\n### Extract public key\n\n```python\nfrom tpm20 import tpm20\npubkey = tpm20.public_key\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalloc%2Fpytpm20","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkalloc%2Fpytpm20","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalloc%2Fpytpm20/lists"}