TPM 2.0 Reference Simulator (tpm2-simulator) Package name

Install latest/edge of TPM 2.0 Reference Simulator

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install tpm2-simulator --edge

Don't have snapd? Get set up for snaps.

TPM 2.0 Reference Simulator is only available on the unstable edge channel. It could break and change often.

Channel Version Published

Details for TPM 2.0 Reference Simulator

Package name

  • tpm2-simulator

License

  • BSD-2-Clause

Last updated

  • Today - latest/edge

Report a Snap Store violation


Share this snap

Generate an embeddable card to be shared on external websites.

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, 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".

Revision Channel Version Published Build Commit Download SBOM

The build and commit information is derived from build infrastructure records.


Install TPM 2.0 Reference Simulator on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.