Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Go to file
Stefan Berger cb5ab582d1 swtpm: Fix vtpm proxy case without startup flags
'swtpm chardev --vptm-proxy' currently requires a '--flag startup-xyz'
to be passed since otherwise the need_init_cmd variable would not be
set to false and swtpm would terminate after sending the startup
command. To maintain backwards compatibility we have to always
set the need_init_cmd variable to false for the --vtpm-proxy case
and must not require a startup flag to be passed.

Roll back one of the test case to not use the startup flag.

Fixes: e6bc4bdf0 ('swtpm: Enable sending startup commands ...')
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-03-07 09:09:14 -05:00
debian Debian: Adjust changelog for 0.3.0 release 2020-02-17 12:11:31 -05:00
dist RPM: Update gitcommit for a useful 0.3.0 checkout 2020-02-17 13:58:03 -05: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: Document new startup options and capabilities advertisement 2020-02-08 18:19:08 -05:00
samples samples: Use new pwd format option for secretly passing passwords 2020-01-30 08:52:58 -05:00
src swtpm: Fix vtpm proxy case without startup flags 2020-03-07 09:09:14 -05:00
tests swtpm: Fix vtpm proxy case without startup flags 2020-03-07 09:09:14 -05:00
.gitignore gitignore: Ignore files related to gcov 2019-04-02 18:08:06 -04:00
.travis.yml Travis: Run make check with VERBOSE=1 2020-02-17 13:58:03 -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.3.0 2020-02-17 12:11:31 -05:00
configure.ac build-sys: Set version to 0.3.0 for next release 2020-02-17 12:11:31 -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