mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-01-07 02:26:51 +00:00
Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Related GH issue: https://github.com/stefanberger/swtpm/issues/461 This patch adds an abstraction layer to NVRAM state store implementation for pluggable storage backends. No functional changes are intended in this change. The default state store backend ("dir backend") keeps current behavior. To make swtpm ready for pluggable store, this patch moves file related operations to the seperate file (swtpm_nvstore_dir.c) and defined the interface for plugins (nvram_backend_ops in swtpm_nvstore.h). The interface can be used by each plugin which will be added later. With the interface, each plugin can access its "backend_uri" which points to the location of the backend storage, for example S3 bucket URL or iSCSI URL, and decide how it stores TPM state data. Signed-off-by: Eiichi Tsukata <eiichi.tsukata@nutanix.com> |
||
|---|---|---|
| .github/ISSUE_TEMPLATE | ||
| debian | ||
| include | ||
| man | ||
| samples | ||
| src | ||
| tests | ||
| .gitignore | ||
| .travis.yml | ||
| autogen.sh | ||
| CHANGES | ||
| configure.ac | ||
| COPYING | ||
| DCO1.1.txt | ||
| INSTALL | ||
| LICENSE | ||
| Makefile.am | ||
| README | ||
| run_tests | ||
| swtpm.spec | ||
| swtpm.spec.in | ||
| TODO | ||
SWTPM - Software TPM Emulator
David Safford safford@us.ibm.com
Stefan Berger stefanb@us.ibm.com
The SWTPM package provides TPM emulators with different front-end interfaces
to libtpms. TPM emulators provide socket interfaces (TCP/IP and Unix) and
the Linux CUSE interface for the creation of multiple native /dev/vtpm* devices.
The SWTPM package also provides several tools for using the TPM emulator,
creating certificates for a TPM, and simulating the manufacturing of
a TPM by creating a TPM's EK and platform certificates etc. Please read
the READMEs in the individual tool's directory under src/.
Please consult the Wiki for information about swtpm:
https://github.com/stefanberger/swtpm/wiki