Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Go to file
Stefan Berger 4b5654a19f swtpm: Disable fsync on file & dir due to TPM timeouts (issue #597)
We cannot currently fsync on the TPM's state file and the dir since this
takes too long and commands in a VM may time out. The reason for this is
that the TPM 2 code occasionally writes the permanent state out even on
commands like TPM2_PCR_Extend that must not take a long time.

See explanation for this in the libtpms PR https://github.com/stefanberger/libtpms/pull/274 .

We will re-enable this feature in 'a while' once the updated libtpms
version has been made more widely available.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-10-17 16:32:38 -04:00
.github/ISSUE_TEMPLATE Update bug_report.md 2021-10-02 11:18:02 -04:00
debian d/swtpm-tools postinst: create the TSS user if it does not exist 2021-10-07 12:47:08 -04:00
include headers: Add defines for little endian data conversion (OS X) 2021-10-05 13:50:45 -04:00
man swtpm_setup: Implement --create-user-config skip-if-exist 2021-10-07 14:27:10 -04:00
samples samples: Have swtpm-create-user-config-files run swtpm_setup 2021-10-07 14:27:10 -04:00
src swtpm: Disable fsync on file & dir due to TPM timeouts (issue #597) 2021-10-17 16:32:38 -04:00
tests swtpm_localca: Created certificates for CAs and TPM that do not expire 2021-10-08 14:07:02 -04:00
.gitignore Change swtpm-localca to swtpm_localca in manpages 2021-07-27 20:05:41 -04:00
.travis.yml Travis: Remove python3-twisted package from being installed 2021-09-20 07:25:53 -04:00
autogen.sh build-sys: Create m4 directory on older systems 2018-12-15 10:06:03 -05:00
CHANGES CHANGES: Add more documentation for changes in 0.6.0 2021-06-04 16:04:09 -04:00
configure.ac build-sys: Minor error message typo fix for glib 2021-09-29 11:53:31 -04:00
COPYING initial check-in 2014-12-05 11:16:03 -05:00
DCO1.1.txt Replace the CLA with the DCO, simply requiring a Signed-off-by: 2016-12-21 11:11:48 -05:00
INSTALL docs: Update INSTALL document 2021-07-21 09:04:24 -04:00
LICENSE swtpm: Replace the CUSE TPM with the new implementation 2015-12-07 15:01:57 -05:00
Makefile.am Move swtpm_setup.conf.in from etc/ to samples/ 2021-07-21 20:30:44 -04:00
README docu: Cut down the README to its minimum 2018-09-24 17:48:41 -04:00
run_tests tests: Run all tests again in run_test 2020-04-07 17:14:10 -04:00
swtpm.spec Change swtpm-localca to swtpm_localca in manpages 2021-07-27 20:05:41 -04:00
swtpm.spec.in Change swtpm-localca to swtpm_localca in manpages 2021-07-27 20:05:41 -04:00
TODO Adding RHEL/Centos status info 2016-06-26 20:03:43 -04:00

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