https://github.com/joholl/tpmstream-web
A tool to help you understand TPM commands and responses.
https://github.com/joholl/tpmstream-web
tpm tpm2
Last synced: over 1 year ago
JSON representation
A tool to help you understand TPM commands and responses.
- Host: GitHub
- URL: https://github.com/joholl/tpmstream-web
- Owner: joholl
- License: bsd-2-clause
- Created: 2023-06-30T12:22:51.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-03T19:35:10.000Z (about 3 years ago)
- Last Synced: 2025-01-18T20:36:41.749Z (over 1 year ago)
- Topics: tpm, tpm2
- Language: Python
- Homepage: https://joholl.github.io/tpmstream-web
- Size: 10.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tpmstream-web
This is a simple web interface for [tpmstream](https://github.com/joholl/tpmstream).
## Deployment
tpmstream-web is hosted at [joholl.github.io/tpmstream-web](https://joholl.github.io/tpmstream-web/).
## How to get TPM traffic?
If using [tpm2-tss](https://github.com/tpm2-software/tpm2-tss)/[tpm2-tools](https://github.com/tpm2-software/tpm2-tools)/..., you can use the the `pcap` TCTI to dump the traffic.
Just copy-paste contents of `tpm2_log.pcap` as a hex string!
```bash
tpm2_getrandom --tcti=pcap:device:/dev/tpmrm0 --hex 10
xxd -p -c0 tpm2_log.pcap
# copy-paste the output to the web page
```