macOS
brew install swtpmlocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für swtpm in AI-Agent-Workflows.
Installation
brew install swtpmlocal Homebrew formula metadata
sudo apk add swtpmAlpine Linux edge package indexes · swtpm · Quelle: dl-cdn.alpinelinux.org
sudo apt install swtpmDebian stable package indexes · swtpm · Quelle: deb.debian.org
sudo dnf install swtpmFedora Rawhide package metadata · swtpm · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#swtpmnixpkgs package indexes · pkgs/by-name/sw/swtpm/package.nix · Quelle: api.github.com
sudo pacman -S swtpmArch Linux sync databases · swtpm · Quelle: geo.mirror.pkgbuild.com
sudo zypper install swtpmopenSUSE Tumbleweed package metadata · swtpm · Quelle: download.opensuse.org
Überblick
Software TPM Emulator based on libtpms
Verlauf
swtpm is a libtpms-based software TPM emulator with socket, character-device, and Linux CUSE interfaces. It is a command-line and service-oriented building block for virtual TPM workflows in QEMU, libvirt, testing, and confidential-computing-adjacent development.
The upstream README credits David Safford and Stefan Berger and describes a package that provides TPM emulators with different front-end interfaces to libtpms. It also ships tools for using the emulator, creating TPM certificates, and simulating TPM manufacturing by creating endorsement-key and platform certificates.
The input package facts show swtpm packaged across Homebrew, Alpine, Debian, Fedora, Nix, Arch, Ubuntu, and openSUSE. The upstream wiki includes build instructions for Ubuntu/Debian, RHEL, openSUSE, Alpine, OpenBSD, Cygwin, and macOS, reflecting a project maintained for distribution packaging and virtualization integration rather than a single application bundle.
Common usage is to run the swtpm emulator as part of a virtual-machine stack, control it with swtpm_ioctl, prepare state with swtpm_setup, and use supporting tools such as swtpm_cert and swtpm_localca for certificate-related TPM setup. The README directs users to per-tool READMEs and the wiki for operational details.
Package nerds care because swtpm is infrastructure glue: a small C/Shell-heavy package that lets VM stacks expose TPM functionality reproducibly. Its packaging footprint matters because TPM emulation is only useful when libtpms, QEMU/libvirt integration, init scripts, config files, and distro build flags line up.
Sicherheitslage
Für swtpm wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
${XDG_CONFIG_HOME}/swtpm_setup.conf${HOME}/.config/swtpm_setup.conf/etc/swtpm_setup.conf/etc/swtpm-localca.conf/etc/swtpm-localca.optionsExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
swtpm | cli | globales Executable | |
swtpm_bios | cli | globales Executable | |
swtpm_cert | cli | globales Executable | |
swtpm_ioctl | cli | globales Executable | |
swtpm_localca | cli | globales Executable | |
swtpm_setup | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/stefanberger/swtpm
Installationsmetadaten
| Paketschlüssel | brew:swtpm |
|---|---|
| Version | 0.10.1 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/swtpm |
| Homepage | https://github.com/stefanberger/swtpm |
| Repository | https://github.com/stefanberger/swtpm |
| Upstream-Dokumentation | https://github.com/stefanberger/swtpm/blob/master/README |
| Lizenz | BSD-3-Clause |
| Quellarchiv | https://github.com/stefanberger/swtpm/archive/refs/tags/v0.10.1.tar.gz |
| Zuletzt aktualisiert | 2026-06-22T22:48:58-04:00 |
| Pulse | updated |
| Abhängigkeiten | gettext, glib, gmp, json-glib, libtasn1, libtpms, openssl@3 |
| Build-Abhängigkeiten | autoconf, automake, gawk, libtool, pkgconf, socat |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | swtpm |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
swtpm 0.7.1-1.5
Libtpms-based TPM emulator
https://github.com/stefanberger/swtpm
sudo apt install swtpmswtpm-dev 0.7.1-1.5
Include files for the TPM emulator's CUSE interface
https://github.com/stefanberger/swtpm
sudo apt install swtpm-devswtpm-libs 0.7.1-1.5
Common libraries for TPM emulators
https://github.com/stefanberger/swtpm
sudo apt install swtpm-libsswtpm-tools 0.7.1-1.5
Tools for the TPM emulator
https://github.com/stefanberger/swtpm
sudo apt install swtpm-toolsswtpm
nix profile install nixpkgs#swtpmswtpm 0.7.3-0ubuntu5
Libtpms-based TPM emulator
sudo apt install swtpmswtpm-tools 0.7.3-0ubuntu5
Tools for the TPM emulator
sudo apt install swtpm-toolsswtpm 0.10.1-r2
Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface
https://github.com/stefanberger/swtpm
sudo apk add swtpmswtpm-dev 0.10.1-r2
Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface (development files)
https://github.com/stefanberger/swtpm
sudo apk add swtpm-devswtpm-doc 0.10.1-r2
Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface (documentation)
https://github.com/stefanberger/swtpm
sudo apk add swtpm-docswtpm 0.10.1-3.fc44
TPM Emulator
https://github.com/stefanberger/swtpm
sudo dnf install swtpmswtpm-devel 0.10.1-3.fc44
Include files for the TPM emulator's CUSE interface for usage by clients
https://github.com/stefanberger/swtpm
sudo dnf install swtpm-develswtpm-libs 0.10.1-3.fc44
Private libraries for swtpm TPM emulators
https://github.com/stefanberger/swtpm
sudo dnf install swtpm-libsswtpm-selinux 0.10.1-3.fc44
SELinux security policy for swtpm
https://github.com/stefanberger/swtpm
sudo dnf install swtpm-selinuxswtpm-tests 0.10.1-3.fc44
Installed swtpm tests
https://github.com/stefanberger/swtpm
sudo dnf install swtpm-testsswtpm-tools 0.10.1-3.fc44
Tools for the TPM emulator
https://github.com/stefanberger/swtpm
sudo dnf install swtpm-toolsQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.