Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Go to file
Stefan Berger 27d4c5d83f swtpm_localca: Test for available issuercert before creating CA
Avoid trying to create TPM certificates while the issuer certificate has
not been created, yet (in a 2nd step).

To resolve this do not just test for availability of the signing key, which
is created first, but also test for the issuer certifcate, which is created
in a 2nd step when the local CA is created. If either one is missing,
attempt to create the CA.

Resolves: #644
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2022-02-17 20:29:17 -05:00
debian debian/rpm: Adjust changelog for 0.5.2 release 2020-12-26 13:33:15 -05:00
dist build-sys: build swtpm-0.5.3 2021-06-14 15:15:34 -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 Update the doc of the flag to connect to TPM via UnixIO socket 2021-01-13 10:26:18 -05:00
samples swtpm_localca: Test for available issuercert before creating CA 2022-02-17 20:29:17 -05:00
src swtpm: Check header size indicator against expected size (CID 375869) 2022-02-17 17:44:38 -05:00
tests tests: Allow volatile state file >= 9000 bytes in test_tpm2_migration_key 2021-05-12 17:01:23 -04:00
.gitignore samples: Rewrite swtpm-localca in python 2020-09-18 12:09:11 -04:00
.travis.yml Travis: Stop using ASAN for swtpm since one test case fails 2022-02-17 15:05:02 -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.2 2020-12-26 13:33:15 -05:00
configure.ac build-sys: Use -DOPENSSL_SUPPRESS_DEPRECATED (OSSL 3) 2021-09-19 17:40:16 -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 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: Fix Makefile issue with multiple .PHONY 2021-06-23 22:45:35 -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