Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Go to file
Stefan Berger 77819bb2e6 samples: Protect variables with quotes and address shellcheck issues
Protect variables with quotes so that pathnames with spaces are now
supported.

Adjust the accompanying test case to make use of spaces in file paths.

Address several issues found by shellcheck. Some of them are false
positives especially when it comes to protecting variables passed
to a commaned in an 'eval' line. They must not be protected, otherwise
they are not passed correctly.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-01-27 09:16:16 -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 man: Document swtpm_setup --print-capabilities option 2019-07-12 14:18:20 -04:00
samples samples: Protect variables with quotes and address shellcheck issues 2020-01-27 09:16:16 -05:00
src swtpm_ioctl: Calculate strlen(input) only once 2020-01-22 19:32:24 -05:00
tests samples: Protect variables with quotes and address shellcheck issues 2020-01-27 09:16:16 -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