macOS
brew install swtpmlocal Homebrew formula metadata
brew
swtpm のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install swtpmlocal Homebrew formula metadata
sudo apk add swtpmAlpine Linux edge package indexes · swtpm · ソース: dl-cdn.alpinelinux.org
sudo apt install swtpmDebian stable package indexes · swtpm · ソース: deb.debian.org
sudo dnf install swtpmFedora Rawhide package metadata · swtpm · ソース: dl.fedoraproject.org
nix profile install nixpkgs#swtpmnixpkgs package indexes · pkgs/by-name/sw/swtpm/package.nix · ソース: api.github.com
sudo pacman -S swtpmArch Linux sync databases · swtpm · ソース: geo.mirror.pkgbuild.com
sudo zypper install swtpmopenSUSE Tumbleweed package metadata · swtpm · ソース: download.opensuse.org
概要
Software TPM Emulator based on libtpms
履歴
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.
セキュリティ状態
swtpm に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.options実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
swtpm | cli | グローバル実行可能ファイル | |
swtpm_bios | cli | グローバル実行可能ファイル | |
swtpm_cert | cli | グローバル実行可能ファイル | |
swtpm_ioctl | cli | グローバル実行可能ファイル | |
swtpm_localca | cli | グローバル実行可能ファイル | |
swtpm_setup | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/stefanberger/swtpm
インストールメタデータ
| パッケージキー | brew:swtpm |
|---|---|
| バージョン | 0.10.1 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/swtpm |
| ホームページ | https://github.com/stefanberger/swtpm |
| リポジトリ | https://github.com/stefanberger/swtpm |
| 上流ドキュメント | https://github.com/stefanberger/swtpm/blob/master/README |
| ライセンス | BSD-3-Clause |
| ソースアーカイブ | https://github.com/stefanberger/swtpm/archive/refs/tags/v0.10.1.tar.gz |
| 最終更新 | 2026-06-22T22:48:58-04:00 |
| Pulse | updated |
| 依存関係 | gettext, glib, gmp, json-glib, libtasn1, libtpms, openssl@3 |
| ビルド依存関係 | autoconf, automake, gawk, libtool, pkgconf, socat |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-toolsソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.