1.831BSD-2-Clause
strict
core26
TPM 2.0 Reference Simulator
A TPM 2.0 simulator based on the official TCG reference implementation of
the TPM 2.0 specification (https://github.com/microsoft/ms-tpm-20-ref).
This snap is used for running the unit tests of go-tpm2
(https://github.com/canonical/go-tpm2) and its consumers. It is NOT a
secure TPM and must not be used to protect any real secret.
The simulator is built from an unmodified upstream release plus the patches
in the patches/ directory of this recipe:
* "-e/--ephemeral" keeps the simulator's NV state in memory only.
* the simulator waits for the client to close its end of the socket,
* the OpenSSL version check is relaxed to allow OpenSSL 3.5.
Run it with e.g. "tpm2-simulator -e 2321".
the TPM 2.0 specification (https://github.com/microsoft/ms-tpm-20-ref).
This snap is used for running the unit tests of go-tpm2
(https://github.com/canonical/go-tpm2) and its consumers. It is NOT a
secure TPM and must not be used to protect any real secret.
The simulator is built from an unmodified upstream release plus the patches
in the patches/ directory of this recipe:
* "-e/--ephemeral" keeps the simulator's NV state in memory only.
* the simulator waits for the client to close its end of the socket,
so that the server end doesn't remain in TIME_WAIT.* the OpenSSL version check is relaxed to allow OpenSSL 3.5.
Run it with e.g. "tpm2-simulator -e 2321".
Update History
1.83 (1)26 Nov 2026, 14:15 UTC
26 Nov 2026, 14:15 UTC
26 Nov 2026, 14:15 UTC
26 Nov 2026, 14:15 UTC