swtpm
« Back to VersTracker
Description:
Software TPM Emulator based on libtpms
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: tpm security emulator virtualization libtpms
Install: brew install swtpm
About:
Swtpm is a software TPM emulator that implements the Trusted Platform Module (TPM) 1.2 and 2.0 specifications. It utilizes libtpms for the core TPM functionality and provides a socket-based interface for communication. This allows virtual machines and other applications to interact with a TPM without requiring physical hardware.
Key Features:
  • Supports TPM 1.2 and TPM 2.0 specifications
  • Socket-based communication interface
  • Persists TPM state to disk for continuity
  • Integrates with QEMU and other virtualization tools
Use Cases:
  • Enabling TPM functionality in virtual machines (e.g., QEMU/KVM)
  • Developing and testing TPM-aware software without hardware
  • Securing container environments with virtualized TPMs
Alternatives:
  • TPM Emulator – An older kernel-based TPM emulator, whereas swtpm runs in userspace and is generally easier to deploy and maintain.
Version History
Detected Version Rev Change Commit
Sep 15, 2025 11:08am 0 VERSION_BUMP 2c22a872
Nov 15, 2024 7:22pm 0 VERSION_BUMP 19583a34
Sep 13, 2024 12:19am 0 VERSION_BUMP ec37873f