macOS
brew install swtpmlocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de swtpm pour les workflows d'agents IA.
installation
brew install swtpmlocal Homebrew formula metadata
sudo apk add swtpmAlpine Linux edge package indexes · swtpm · Source: dl-cdn.alpinelinux.org
sudo apt install swtpmDebian stable package indexes · swtpm · Source: deb.debian.org
sudo dnf install swtpmFedora Rawhide package metadata · swtpm · Source: dl.fedoraproject.org
nix profile install nixpkgs#swtpmnixpkgs package indexes · pkgs/by-name/sw/swtpm/package.nix · Source: api.github.com
sudo pacman -S swtpmArch Linux sync databases · swtpm · Source: geo.mirror.pkgbuild.com
sudo zypper install swtpmopenSUSE Tumbleweed package metadata · swtpm · Source: download.opensuse.org
aperçu
Software TPM Emulator based on libtpms
historique
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.
posture de sécurité
Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour swtpm. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
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.optionsexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
swtpm | cli | exécutable global | |
swtpm_bios | cli | exécutable global | |
swtpm_cert | cli | exécutable global | |
swtpm_ioctl | cli | exécutable global | |
swtpm_localca | cli | exécutable global | |
swtpm_setup | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/stefanberger/swtpm
métadonnées d'installation
| Clé du paquet | brew:swtpm |
|---|---|
| Version | 0.10.1 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/swtpm |
| Page d'accueil | https://github.com/stefanberger/swtpm |
| Dépôt | https://github.com/stefanberger/swtpm |
| Docs amont | https://github.com/stefanberger/swtpm/blob/master/README |
| Licence | BSD-3-Clause |
| Archive source | https://github.com/stefanberger/swtpm/archive/refs/tags/v0.10.1.tar.gz |
| Dernière mise à jour | 2026-06-22T22:48:58-04:00 |
| Pulse | updated |
| Dépendances | gettext, glib, gmp, json-glib, libtasn1, libtpms, openssl@3 |
| Dépendances de compilation | autoconf, automake, gawk, libtool, pkgconf, socat |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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-toolspiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.