Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Go to file
Stefan Berger a06ec77659
Some checks failed
Coverity Scan / coverity (push) Has been cancelled
swtpm_setup: Create IAK hwSerialNum from data extracted from EK certificate
Create the IAK hwSerialNum from the authority key identifier (AKID) and
serial number extracted from the EK certificate.

Adjust a test script that now needs to use a valid certificate for the EK
so that we can get the AKID and serial from it to create the serial number
for the IAK certificate.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2026-04-23 14:58:21 -04:00
.github ci: Make openssl and pcks11-provider always-required packages 2026-04-22 11:19:28 -04:00
debian debian/rpm: Add openssl and pkcs11-provider as build dependencies 2026-04-22 11:19:28 -04:00
include swtpm: Add compiler attribute for printf to logging functions 2026-04-14 17:41:51 -04:00
man swtpm_setup: Create IAK hwSerialNum from data extracted from EK certificate 2026-04-23 14:58:21 -04:00
samples samples: Remove --srk-password option from swtpm-create-tpmca 2026-04-20 09:15:47 -04:00
src swtpm_setup: Create IAK hwSerialNum from data extracted from EK certificate 2026-04-23 14:58:21 -04:00
tests swtpm_setup: Create IAK hwSerialNum from data extracted from EK certificate 2026-04-23 14:58:21 -04:00
.gitignore debian: drop postinst, no longer needed 2025-09-23 09:32:29 -04:00
.travis.yml build: Remove gnutls-devel as required package for swtpm 2026-04-05 20:19:36 -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: Require openssl tool 2026-04-22 11:19: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 build: Remove gnutls-devel as required package for swtpm 2026-04-05 20:19:36 -04:00
INSTALL build: Remove gnutls-devel as required package for swtpm 2026-04-05 20:19:36 -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 tests: Run all tests again in run_test 2020-04-07 17:14:10 -04:00
swtpm.spec debian/rpm: Add openssl and pkcs11-provider as build dependencies 2026-04-22 11:19:28 -04:00
swtpm.spec.in debian/rpm: Add openssl and pkcs11-provider as build dependencies 2026-04-22 11:19:28 -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