Automic VaultAutomic Vault

brew

Installer swtpm avec Homebrew, apk, apt, dnf, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de swtpm pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install swtpm

local Homebrew formula metadata

Linux

Alpine Linux apkvérifié · 92%
sudo apk add swtpm

Alpine Linux edge package indexes · swtpm · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install swtpm

Debian stable package indexes · swtpm · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install swtpm

Fedora Rawhide package metadata · swtpm · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#swtpm

nixpkgs package indexes · pkgs/by-name/sw/swtpm/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S swtpm

Arch Linux sync databases · swtpm · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install swtpm

openSUSE Tumbleweed package metadata · swtpm · Source: download.opensuse.org

aperçu

Résumé du paquet

Software TPM Emulator based on libtpms

Commandes et alias

  • swtpm
  • swtpm_bios
  • swtpm_cert
  • swtpm_ioctl
  • swtpm_localca
  • swtpm_setup

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • v0.1.0 era: The upstream repository exposes early v0.1.x release tags.
  • 2025: GitHub lists v0.10.1 as the latest swtpm release on April 30, 2025.
  • Current packaging: The input package facts list swtpm in Homebrew and major Linux package ecosystems.

Related projects

  • Related projects and topics include libtpms, QEMU, libvirt, TPM 1.2/2.0 tooling, virtual TPM devices, and distro packaging for virtualization hosts.

posture de sécurité

Aucune couverture d'outil protégé trouvée pour le moment

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.

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 7 dépendances d’exécution.
  • Les métadonnées de compilation listent 6 dépendances de compilation.

Revue recommandée

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

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
${XDG_CONFIG_HOME}/swtpm_setup.conf${HOME}/.config/swtpm_setup.conf/etc/swtpm_setup.conf/etc/swtpm-localca.conf/etc/swtpm-localca.options

exécutables

Exécutables installés

CommandeTypeExpositionNote
swtpmcliexécutable global
swtpm_bioscliexécutable global
swtpm_certcliexécutable global
swtpm_ioctlcliexécutable global
swtpm_localcacliexécutable global
swtpm_setupcliexécutable global

fraîcheur

Version et 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.

page générée2026-07-10
version du gestionnaire0.10.1
gestionnaire mis à jour2026-06-22
données localesOK
amontà jour
dernière version détectéev0.10.1

https://github.com/stefanberger/swtpm

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:swtpm
Version0.10.1
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/swtpm
Page d'accueilhttps://github.com/stefanberger/swtpm
Dépôthttps://github.com/stefanberger/swtpm
Docs amonthttps://github.com/stefanberger/swtpm/blob/master/README
LicenceBSD-3-Clause
Archive sourcehttps://github.com/stefanberger/swtpm/archive/refs/tags/v0.10.1.tar.gz
Dernière mise à jour2026-06-22T22:48:58-04:00
Pulseupdated
Dépendancesgettext, glib, gmp, json-glib, libtasn1, libtpms, openssl@3
Dépendances de compilationautoconf, automake, gawk, libtool, pkgconf, socat
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameswtpm
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

swtpm 0.7.1-1.5

Libtpms-based TPM emulator

https://github.com/stefanberger/swtpm

sudo apt install swtpm
  • Section: misc
  • Architecture: amd64
  • 3 Dépendances
  • normalized package name match
  • Correspondance par : Swtpm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swtpm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swtpm-dev 0.7.1-1.5

Include files for the TPM emulator's CUSE interface

https://github.com/stefanberger/swtpm

sudo apt install swtpm-dev
  • Section: misc
  • Architecture: amd64
  • Source Package: swtpm
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Swtpm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swtpm-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swtpm-libs 0.7.1-1.5

Common libraries for TPM emulators

https://github.com/stefanberger/swtpm

sudo apt install swtpm-libs
  • Section: misc
  • Architecture: amd64
  • Source Package: swtpm
  • 5 Dépendances
  • normalized package name match
  • Correspondance par : Swtpm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swtpm-libs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swtpm-tools 0.7.1-1.5

Tools for the TPM emulator

https://github.com/stefanberger/swtpm

sudo apt install swtpm-tools
  • Section: misc
  • Architecture: amd64
  • Source Package: swtpm
  • 9 Dépendances
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Swtpm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swtpm-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

swtpm

nix profile install nixpkgs#swtpm
  • normalized package name match
  • Correspondance par : Swtpm
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sw/swtpm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

swtpm 0.7.3-0ubuntu5

Libtpms-based TPM emulator

sudo apt install swtpm
  • Section: misc
  • Architecture: amd64
  • 4 Dépendances
  • normalized package name match
  • Correspondance par : Swtpm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swtpm from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

swtpm-tools 0.7.3-0ubuntu5

Tools for the TPM emulator

sudo apt install swtpm-tools
  • Section: misc
  • Architecture: amd64
  • Source Package: swtpm
  • 9 Dépendances
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Swtpm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swtpm-tools from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

swtpm 0.10.1-r2

Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface

https://github.com/stefanberger/swtpm

sudo apk add swtpm
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: swtpm
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Swtpm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: swtpm from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

swtpm-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-dev
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: swtpm
  • normalized package name match
  • Correspondance par : Swtpm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: swtpm-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

swtpm-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-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: swtpm
  • normalized package name match
  • Correspondance par : Swtpm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: swtpm-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

swtpm 0.10.1-3.fc44

TPM Emulator

https://github.com/stefanberger/swtpm

sudo dnf install swtpm
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: swtpm
  • 8 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Swtpm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: swtpm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

swtpm-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-devel
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: swtpm
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Swtpm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: swtpm-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

swtpm-libs 0.10.1-3.fc44

Private libraries for swtpm TPM emulators

https://github.com/stefanberger/swtpm

sudo dnf install swtpm-libs
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: swtpm
  • 10 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Swtpm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: swtpm-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

swtpm-selinux 0.10.1-3.fc44

SELinux security policy for swtpm

https://github.com/stefanberger/swtpm

sudo dnf install swtpm-selinux
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: swtpm
  • 7 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Swtpm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: swtpm-selinux from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

swtpm-tests 0.10.1-3.fc44

Installed swtpm tests

https://github.com/stefanberger/swtpm

sudo dnf install swtpm-tests
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: swtpm
  • 4 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Swtpm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: swtpm-tests from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

swtpm-tools 0.10.1-3.fc44

Tools for the TPM emulator

https://github.com/stefanberger/swtpm

sudo dnf install swtpm-tools
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: swtpm
  • 17 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Swtpm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: swtpm-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment