Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Go to file
Stefan Berger 0e0d346651 tests: Retry NVWrite command after 0x922 return code and inc lockout counter
When returncode 0x922 is received from NVWrite then retry the command so
that it gets the expected error code from failing to provide a password.
When checking the lockout counter, increase the numbers now.

Patched versions of libtpms may not return 0x922 anymore, so write the code
that it can test both cases.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2025-05-13 08:52:56 -04:00
.github ci: Update from ubuntu-20.04 to ubuntu-24.04 due to EOL 2025-05-13 08:52:56 -04:00
debian debian/rpm: Adjust changelog for 0.8.2 release 2024-03-22 16:52:59 -04:00
include swtpm: Implement CMD_LOCK_STORAGE to lock storage 2022-09-06 14:08:45 -04:00
man swtpm: Implement terminate parameter for ctrl channel loss 2022-09-22 13:27:38 -04:00
samples swtpm_setup: Write active_pcr_banks into swtpm_setup.conf 2021-10-29 15:36:35 -04:00
src swtpm: Return TPM_FAIL from invalid header version case 2024-09-24 20:31:41 -04:00
tests tests: Retry NVWrite command after 0x922 return code and inc lockout counter 2025-05-13 08:52:56 -04:00
.gitignore gitignore: Ignore created files in man/man5/ 2022-06-28 07:55:20 -04:00
.travis.yml Travis: Remove python3-twisted package from being installed 2021-09-20 07:25:53 -04:00
autogen.sh build-sys: Create m4 directory on older systems 2018-12-15 10:06:03 -05:00
CHANGES CHANGES: Add a note about OPENSSL_ENABLE_SHA1_SIGNATURES=1 for swtpm 2025-05-13 08:52:56 -04:00
configure.ac build-sys: Build swtpm-0.8.3 2024-09-24 20:31:41 -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 docs: Update INSTALL document 2021-07-21 09:04:24 -04:00
LICENSE swtpm: Replace the CUSE TPM with the new implementation 2015-12-07 15:01:57 -05:00
Makefile.am build-sys: Move regex to test PCR banks into configure script 2021-11-08 09:03:44 -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 build-sys: Build swtpm-0.8.3 2024-09-24 20:31:41 -04:00
swtpm.spec.in debian/rpm: Adjust changelog for 0.8.2 release 2024-03-22 16:52:59 -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