Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Go to file
Stefan Berger c877bec553 swtpm_cert: Add support for serial numbers up to 20 bytes long
x509 certificate serial numbers can be up to 20 bytes long.
Support this via gmp library.

A serial number must not have its most significant bit set, which
would indicate a negative number. If this is the case, insert '0'
as the first byte.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2023-08-22 21:21:03 -04:00
.github/ISSUE_TEMPLATE Update bug_report.md 2022-10-10 07:53:26 -04:00
debian build-sys/rpm/debian: Add gmp library and devel package as dependency 2023-08-22 21:21:03 -04:00
include Fix a few spelling errors in code 2023-07-17 20:46:43 -04:00
man swtpm_localca: Introduce --key as more generic alias for --ek 2023-08-19 11:36:21 -04:00
samples samples: swtpm-create-tpmca: Fix shellcheck issues and add to syntax-check target 2023-02-22 17:27:05 -05:00
src swtpm_cert: Add support for serial numbers up to 20 bytes long 2023-08-22 21:21:03 -04:00
tests tests: reformat regexs for easier readability and extension 2023-08-19 09:18:09 -04:00
.gitignore utils: Consolidate compile time configuration variables in swtpm_conf.h 2023-04-17 10:55:16 -04:00
.travis.yml Travis: Update from focal to jammy and from bionic to focal 2023-02-27 07:10:10 -05:00
autogen.sh build-sys: Create m4 directory on older systems 2018-12-15 10:06:03 -05:00
CHANGES CHANGES: Add more documentation for changes in 0.8.0 2022-11-10 12:24:08 -05:00
configure.ac build-sys/rpm/debian: Add gmp library and devel package as dependency 2023-08-22 21:21:03 -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 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 build-sys/rpm/debian: Add gmp library and devel package as dependency 2023-08-22 21:21:03 -04:00
swtpm.spec.in build-sys/rpm/debian: Add gmp library and devel package as dependency 2023-08-22 21:21:03 -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