Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Go to file
Stefan Berger 20524cb213 swtpm_ioctl: Use timeouts for communicating with swtpm (Unix socket)
Start using timeouts when communicating with swtpm over Unix sockets so
that swtpm_ioctl does not just hang when it cannot communicate with swtpm
such as establishing a connection or reading results. This is because swtpm
listens to nlye one control channel connections.

This patch addresses an aspect of the problem reported in issue #415
but may also starting hiding bugs if certain operations are done in
the wrong order, as was the case in libvirt (6.10 & 7.0).

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-02-25 07:28:47 -05:00
.github/ISSUE_TEMPLATE github: Update issues templates 2020-12-27 22:49:45 -05:00
debian build-sys: Bump up version to 0.6.0 at beginning of dev cycle 2020-10-28 08:32:50 -04:00
dist build-sys: Bump up version to 0.6.0 at beginning of dev cycle 2020-10-28 08:32:50 -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: Change 'shell variable' to 'environment variable' in swtpm-localca.conf 2021-02-19 15:06:52 -05:00
samples samples: Fix typo in project URL (swptm->swtpm) 2021-02-05 16:48:55 -05:00
src swtpm_ioctl: Use timeouts for communicating with swtpm (Unix socket) 2021-02-25 07:28:47 -05:00
tests tests: Use the IBM TSS2 v1.6.0's test suite 2021-02-24 12:23:27 -05:00
.gitignore samples: Rewrite swtpm-localca in python 2020-09-18 12:09:11 -04:00
.travis.yml Travis: Upgrade pip to v20.3.3 2021-01-29 10:51:30 -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.0 2020-10-07 14:24:43 -04:00
configure.ac build-sys: Check for python cryptography version 2021-01-19 09:57:54 -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 build-sys: Add python-install and python-uninstall targets 2020-10-05 12:06: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