mirror of
https://github.com/stefanberger/swtpm.git
synced 2025-12-30 18:31:52 +00:00
Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
When there is a delay between "Sending TPM2_NV_Write with wrong password" and "timenow=$(date +%s)", the test can fail with "Error: Did not get expected failure from TPM2_NV_Write() with good password. Lockout should be enabled.". This can sometimes happen on slow or busy systems. To stabilize the test, this patch introduces precise recovery time measurement ($timerecovery) and check good password works after that time. As for lockout timeout, moves starting timer just before TPM2_NV_Write and check good password fails before that time. 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