Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Go to file
Stefan Berger 895df2c36e tests+samples: Check for --help support to determine stat/sed tools flavor
Using the kernel name was not a good choice for determining which flavor
(BSD vs. GNU) of stat, sed, and install was being used since one could
install either one of them at least on MacOS. Instead, check whether
--help is supported by these tools.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2026-05-19 19:14:37 -04:00
.github CI: Do not install expect package anymore 2026-05-05 17:19:48 -04:00
debian debian/rpm: Add openssl as dependent package 2026-05-06 10:22:22 -04:00
include swtpm: Add compiler attribute for printf to logging functions 2026-04-14 17:41:51 -04:00
man samples: Remove usage of certtool from swtpm-create-tpmca 2026-05-06 08:09:04 -04:00
samples tests+samples: Check for --help support to determine stat/sed tools flavor 2026-05-19 19:14:37 -04:00
src swtpm_setup: Remove casts to arrays since unacceptable to clang 2026-05-19 11:38:00 -04:00
tests tests+samples: Check for --help support to determine stat/sed tools flavor 2026-05-19 19:14:37 -04:00
.gitignore debian: drop postinst, no longer needed 2025-09-23 09:32:29 -04:00
.travis.yml CI: Do not install expect package anymore 2026-05-05 17:19:48 -04: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.10.0 2024-11-15 14:19:43 -05:00
configure.ac build-sys: Add dependency on libtpms v0.11 2026-05-07 08:40:28 -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
docker-compose.yml ci: add testing via docker compose 2024-07-18 16:48:21 -04:00
Dockerfile docs: Remove expect and trousers as packages to install 2026-05-05 17:19:48 -04:00
INSTALL docs: Remove expect and trousers as packages to install 2026-05-05 17:19:48 -04:00
LICENSE swtpm: Replace the CUSE TPM with the new implementation 2015-12-07 15:01:57 -05:00
Makefile.am samples: swtpm-create-tpmca: Fix shellcheck issues and add to syntax-check target 2023-02-22 17:27:05 -05:00
README docu: Cut down the README to its minimum 2018-09-24 17:48:41 -04:00
run_tests build-sys: Remove checking for GnuTLS and certtool 2026-05-06 08:09:04 -04:00
swtpm.spec debian/rpm: Add openssl as dependent package 2026-05-06 10:22:22 -04:00
swtpm.spec.in debian/rpm: Add openssl as dependent package 2026-05-06 10:22:22 -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