Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Go to file
Stefan Berger 36ee55222f swtpm: Unconditionally close fd if writing of pidfile fails (coverity)
Do not bother trying to keep pidfilefd open in case fd = pidfilefd,
but close it unconditionally. If writing the pidfile fails, the process
terminates anyway, besides that we only ever need to write to the
pidfile once, which is happening in this function.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-12-26 13:32:19 -05:00
debian build-sys: Bump up version to 0.6.0 at beginning of dev cycle 2020-10-28 08:32:50 -04:00
dist build-sys: Bump up version to 0.6.0 at beginning of dev cycle 2020-10-28 08:32:50 -04:00
etc build-sys: Fix hard coded /etc path and replace with @SYSCONFDIR@ 2019-01-17 11:28:40 -05:00
include swtpm: Have swtpm report PTM_CAP_SEND_COMMAND_HEADER flag 2019-07-09 10:38:07 -04:00
man man: Fix enc[yr]ption typo in swtpm_setup manpage 2020-10-27 22:27:36 -04:00
samples samples: Do not follow symlink on logfile (CVE-2020-28407) 2020-11-17 15:42:31 -05:00
src swtpm: Unconditionally close fd if writing of pidfile fails (coverity) 2020-12-26 13:32:19 -05:00
tests tests: Try with tcsd.conf ownership of root:tss if tss:tss did not work 2020-11-09 08:51:08 -05:00
.gitignore samples: Rewrite swtpm-localca in python 2020-09-18 12:09:11 -04:00
.travis.yml Travis: Remove OSX CI/CD due to costs 2020-11-17 16:55:45 -05:00
autogen.sh build-sys: Create m4 directory on older systems 2018-12-15 10:06:03 -05:00
CHANGES CHANGES: Add documentation for changes in 0.5.0 2020-10-07 14:24:43 -04:00
configure.ac build-sys: fix configure python cryptography error message 2020-11-11 10:40:39 -05: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 Fix a 1 letter typo in INSTALL instructions 2019-12-04 16:13:53 -05:00
LICENSE swtpm: Replace the CUSE TPM with the new implementation 2015-12-07 15:01:57 -05:00
Makefile.am build-sys: Add python-install and python-uninstall targets 2020-10-05 12:06:05 -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
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