Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Go to file
Stefan Berger 3ed0744de0 samples: Add --password parameter for older GnuTLS versions
Older versions of GnuTLS need --password on the command line while
newer versions require GNUTLS_PIN to be set to pass the password.
So, this patch accomodates older versions of GnuTLS.

Older version of GnuTLS seem to NOT be able to handle a CA private
key needing a password and a signing key needing a password when
creating the intermediate CA. So this case of 2 passwords will
always fail.

The value of the local CA is not so high that passing passwords on
the command line would be an issue. Later on when using the CA the
password are set via environment variables, so not visible to other
users.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-09-18 20:12:01 -04:00
debian build-sys: make pip dependency check non-fatal 2020-09-14 07:41:24 -04:00
dist build-sys: make pip dependency check non-fatal 2020-09-14 07:41:24 -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 samples: Add support for pkcs11 module environment variables to config file 2020-09-18 12:09:11 -04:00
samples samples: Add --password parameter for older GnuTLS versions 2020-09-18 20:12:01 -04:00
src swtpm_setup: Add missing .config path when using ${HOME} 2020-09-17 13:05:37 -04:00
tests samples: Apply password for signing key when creating platform cert (bugfix) 2020-09-15 21:08:32 -04:00
.gitignore samples: Rewrite swtpm-localca in python 2020-09-18 12:09:11 -04:00
.travis.yml Travis: Run pylint on new swtpm-localca, remove flock on OS X 2020-09-18 12:09:11 -04:00
autogen.sh build-sys: Create m4 directory on older systems 2018-12-15 10:06:03 -05:00
CHANGES CHANGES: Extend documentation for changes in 0.4.0 2020-08-28 17:43:06 -04:00
configure.ac samples: Rewrite swtpm-localca in python 2020-09-18 12:09:11 -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: Add build targets selinux-install and selinux-uninstall 2020-08-19 10:50: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