Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Go to file
Stefan Berger e6bc4bdf0a swtpm: Enable sending startup commands before processing commands
The vtpm proxy device requires that the TPM be 'Startup' otherwise it
fails sending the first command to it and will send the 'Startup'
(SU_CLEAR/TPM_ST_CLEAR) itself while adding a log entry. We want to
avoid the kernel log entry.

Add options to the existing --flags option that allows one to start
up the TPM 1.2 or TPM 2.0 with the startup types 'clear', 'state'
and 'deactivate' (TPM 1.2 only). Extend the --print-capabilities to
advertise the availability of these options with the string
'flags-opt-startup'.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-02-08 18:19:08 -05:00
debian debian: Fix issues reported by lintian and changelog format issues 2020-01-14 20:26:36 -05:00
dist rpm: Adjust the RPM spec for 0.2.0 release 2019-07-19 13:47:02 -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 swtpm_cert: Add support for --print-capabilities option 2020-01-30 08:52:58 -05:00
samples samples: Use new pwd format option for secretly passing passwords 2020-01-30 08:52:58 -05:00
src swtpm: Enable sending startup commands before processing commands 2020-02-08 18:19:08 -05:00
tests tests: Wait longer for port to close when running with valgrind 2020-02-04 19:55:47 -05:00
.gitignore gitignore: Ignore files related to gcov 2019-04-02 18:08:06 -04:00
.travis.yml Travis: Add asan build for non-openssl usage in libtpms 2019-11-27 11:20:26 -05:00
autogen.sh build-sys: Create m4 directory on older systems 2018-12-15 10:06:03 -05:00
CHANGES CHANGES: Write changelog for v0.2.0 2019-07-16 14:26:32 -04:00
configure.ac build-sys: Display check result for build with libseccomp 2020-01-14 20:26:36 -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 buils-sys: Include autogen.sh in tarball and use for RPM build 2018-08-08 10:29:19 -04:00
README docu: Cut down the README to its minimum 2018-09-24 17:48:41 -04:00
run_tests run_test.sh: Replace -j8 with -j$(nproc) 2019-01-28 17:03:26 -05: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