macOS
brew install pkcs11-toolslocal Homebrew formula metadata
brew / 順位 4030
pkcs11-tools のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install pkcs11-toolslocal Homebrew formula metadata
概要
Tools to manage objects on PKCS#11 crypotographic tokens
履歴
PKCS#11 tools is a suite of small command-line programs for managing cryptographic keys, certificates, and other objects across interoperable hardware and software tokens.
pkcs11-tools was created to provide unified, interoperable key-management primitives for cryptographic tokens implementing PKCS#11. The official manual cites underspecified object conventions, differences between Java implementations, cumbersome JVM setup, and proprietary vendor tools as motivations.
The toolkit evolved through releases adding templates and broader attribute handling, CKA_ALLOWED_MECHANISMS support, JWK output, reworked vendor wrappers, OpenSSL 3 migration, and support for the ML-KEM, ML-DSA, and SLH-DSA post-quantum algorithms.
The toolkit targets a range of hardware and software PKCS#11 implementations rather than a single vendor. Official documentation covers major HSM brands and software tokens including SoftHSM, NSS, and Kryoptic, as well as interoperability with IBM and Oracle Java environments.
It is available through Homebrew, while the source documentation also covers Linux, macOS, AIX, Solaris, and cross-compiled Windows builds.
Users select a PKCS#11 library and token by command options or environment variables, then use focused p11 commands to list, inspect, generate, import, move, remove, wrap, or unwrap objects and to create CSRs or certificates.
Vendor-oriented with_* wrappers can auto-detect libraries and read .pkcs11rc or .pkcs11rc.<vendor> files. The search begins in the current directory and proceeds upward to $HOME. These shell-sourced files may contain PKCS11PASSWORD, so they can also act as credential-bearing files and require appropriate permissions.
The project supplies Unix-like commands such as p11ls, p11mv, p11rm, p11od, and p11more for a security API whose vendor tooling is often proprietary and inconsistent. That composable command vocabulary makes heterogeneous HSM and token administration more approachable.
Its breadth extends beyond object inspection to key generation, wrapping, certificate import, CSR creation, token initialization, vendor wrapper scripts, shell completion, and post-quantum PKCS#11 algorithms.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.
./.pkcs11rc./.pkcs11rc.<vendor>~/.pkcs11rc~/.pkcs11rc.<vendor>Credential-bearing paths to review before unattended agent runs.
./.pkcs11rc./.pkcs11rc.<vendor>~/.pkcs11rc~/.pkcs11rc.<vendor>実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
masqreq | cli | グローバル実行可能ファイル | |
p11cat | cli | グローバル実行可能ファイル | |
p11cp | cli | グローバル実行可能ファイル | |
p11importcert | cli | グローバル実行可能ファイル | |
p11importdata | cli | グローバル実行可能ファイル | |
p11importpubk | cli | グローバル実行可能ファイル | |
p11init | cli | グローバル実行可能ファイル | |
p11kcv | cli | グローバル実行可能ファイル | |
p11keycomp | cli | グローバル実行可能ファイル | |
p11keygen | cli | グローバル実行可能ファイル | |
p11ls | cli | グローバル実行可能ファイル | |
p11mkcert | cli | グローバル実行可能ファイル | |
p11more | cli | グローバル実行可能ファイル | |
p11mv | cli | グローバル実行可能ファイル | |
p11od | cli | グローバル実行可能ファイル | |
p11req | cli | グローバル実行可能ファイル | |
p11rewrap | cli | グローバル実行可能ファイル | |
p11rm | cli | グローバル実行可能ファイル | |
p11setattr | cli | グローバル実行可能ファイル | |
p11slotinfo | cli | グローバル実行可能ファイル | |
p11unwrap | cli | グローバル実行可能ファイル | |
p11wrap | cli | グローバル実行可能ファイル | |
with_aws | cli | グローバル実行可能ファイル | |
with_beid | cli | グローバル実行可能ファイル | |
with_kryoptic | cli | グローバル実行可能ファイル | |
with_luna | cli | グローバル実行可能ファイル | |
with_nfast | cli | グローバル実行可能ファイル | |
with_nss | cli | グローバル実行可能ファイル | |
with_pkcs11_common | cli | グローバル実行可能ファイル | |
with_softhsm | cli | グローバル実行可能ファイル | |
with_utimaco | cli | グローバル実行可能ファイル | |
with_yubico | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/Mastercard/pkcs11-tools
インストールメタデータ
| パッケージキー | brew:pkcs11-tools |
|---|---|
| バージョン | 3.1.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/pkcs11-tools |
| ホームページ | https://github.com/Mastercard/pkcs11-tools |
| リポジトリ | https://github.com/Mastercard/pkcs11-tools |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://github.com/Mastercard/pkcs11-tools/releases/download/v3.1.0/pkcs11-tools-3.1.0.tar.gz |
| 最終更新 | 2026-09-11T13:06:39Z |
| Pulse | updated |
| 依存関係 | openssl@3 |
| ビルド依存関係 | pkgconf |
| 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 | pkcs11-tools |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.