macOS
brew install softhsmlocal Homebrew formula metadata
sudo port install softhsmMacPorts ports tree · security/softhsm/Portfile · 来源: api.github.com
安装
brew install softhsmlocal Homebrew formula metadata
sudo port install softhsmMacPorts ports tree · security/softhsm/Portfile · 来源: api.github.com
sudo apk add softhsmAlpine Linux edge package indexes · softhsm · 来源: dl-cdn.alpinelinux.org
sudo dnf install softhsmFedora Rawhide package metadata · softhsm · 来源: dl.fedoraproject.org
nix profile install nixpkgs#softhsmnixpkgs package indexes · pkgs/by-name/so/softhsm/package.nix · 来源: api.github.com
sudo pacman -S softhsmArch Linux sync databases · softhsm · 来源: geo.mirror.pkgbuild.com
sudo zypper install softhsmopenSUSE Tumbleweed package metadata · softhsm · 来源: download.opensuse.org
概览
Cryptographic store accessible through a PKCS#11 interface
历史
SoftHSM is a software implementation of a cryptographic token store exposed through PKCS#11, originally created for OpenDNSSEC and later maintained as a standalone security project.
The official SoftHSM site and README both state that SoftHSM began as part of the OpenDNSSEC project. OpenDNSSEC needed to store and handle cryptographic keys through PKCS#11, but requiring a physical hardware security module would have limited who could test or deploy the system.
SoftHSM answered that problem with a software implementation of a generic cryptographic device. Version 2 became the current line, adding stronger handling of sensitive material, unswappable memory support, and a more general crypto backend that can use Botan or OpenSSL.
The SoftHSMv2 GitHub repository was created in 2013 and remains active under the softhsm organization, while the project website points users to GitHub for source code and bug reporting.
SoftHSM spread beyond OpenDNSSEC because PKCS#11 is a shared interface used by many cryptographic applications. The README explicitly notes that SoftHSM can work with other cryptographic products through that interface.
The package is carried by Homebrew, Alpine, Fedora, MacPorts, Nix, Arch, and openSUSE according to the input package facts, which fits its role as a test and development HSM substitute on Unix-like systems.
Users install the library and command-line utilities, configure the token storage path in softhsm2.conf, initialize tokens with softhsm2-util --init-token, and then point PKCS#11-aware software at the SoftHSM module.
The default configuration file is /etc/softhsm2.conf, and the README documents SOFTHSM2_CONF as an override. Token backup is ordinary file backup of the configured token storage location.
SoftHSM is important to package maintainers because it makes PKCS#11 integration testable without special hardware. That matters for DNSSEC software, TLS tooling, signing infrastructure, CI systems, and applications that support smart cards or hardware security modules.
It is also a classic dependency-package artifact: most users care that the shared module, config file, utility commands, crypto backend, and p11-kit integration land in expected filesystem locations.
安全态势
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.
/etc/softhsm2.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
softhsm2-dump-file | cli | 全局可执行文件 | |
softhsm2-keyconv | cli | 全局可执行文件 | |
softhsm2-util | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/softhsm/SoftHSMv2
安装元数据
| 软件包键 | brew:softhsm |
|---|---|
| 版本 | 2.7.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/softhsm |
| 主页 | https://www.softhsm.org/ |
| 仓库 | https://github.com/softhsm/SoftHSMv2 |
| 上游文档 | https://github.com/softhsm/SoftHSMv2#readme |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/softhsm/SoftHSMv2/archive/refs/tags/2.7.0.tar.gz |
| 最后更新 | 2026-07-05T00:14:30+09:00 |
| Pulse | updated |
| 依赖 | openssl@3 |
| 构建依赖 | autoconf, automake, libtool, 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 | softhsm |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
softhsm
nix profile install nixpkgs#softhsmsofthsm 2.7.0-r0
cryptographic store accessible through a PKCS #11
https://github.com/softhsm/SoftHSMv2
sudo apk add softhsmsofthsm-doc 2.7.0-r0
cryptographic store accessible through a PKCS #11 (documentation)
https://github.com/softhsm/SoftHSMv2
sudo apk add softhsm-docsofthsm-static 2.7.0-r0
cryptographic store accessible through a PKCS #11 (static library)
https://github.com/softhsm/SoftHSMv2
sudo apk add softhsm-staticsofthsm 2.7.0-0.1.rc1.fc44.1
Software version of a PKCS#11 Hardware Security Module
sudo dnf install softhsmsofthsm-devel 2.7.0-0.1.rc1.fc44.1
Development package of softhsm that includes the header files
sudo dnf install softhsm-develsofthsm 2.7.0-1
Software PKCS#11 store
https://opendnssec.readthedocs.io/en/latest/softhsm2/
sudo pacman -S softhsmsofthsm 2.6.1+git.1732869438.f7883c2-2.4
Software version of a PKCS#11 Hardware Security Module
sudo zypper install softhsmsofthsm-devel 2.6.1+git.1732869438.f7883c2-2.4
Development package of softhsm
sudo zypper install softhsm-develsofthsm
sudo port install softhsm来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.