Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, winget 安装 opensc

查看 opensc 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install opensc

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install opensc

MacPorts ports tree · security/opensc/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add opensc

Alpine Linux edge package indexes · opensc · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install opensc

Debian stable package indexes · opensc · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install opensc

Fedora Rawhide package metadata · opensc · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#opensc

nixpkgs package indexes · pkgs/by-name/op/opensc/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S opensc

Arch Linux sync databases · opensc · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install opensc

openSUSE Tumbleweed package metadata · opensc · 来源: download.opensuse.org

概览

软件包摘要

Tools and libraries for smart cards

命令和别名

  • cardos-tool
  • cryptoflex-tool
  • dnie-tool
  • dtrust-tool
  • egk-tool
  • eidenv
  • gids-tool
  • goid-tool
  • iasecc-tool
  • netkey-tool
  • openpgp-tool
  • opensc-asn1
  • opensc-explorer
  • opensc-notify
  • opensc-tool
  • piv-tool
  • pkcs11-register
  • pkcs11-tool
  • pkcs15-crypt
  • pkcs15-init
  • pkcs15-tool
  • sc-hsm-tool
  • westcos-tool

历史

项目历史与用法

OpenSC provides smart-card tools and middleware, centered on cryptographic cards and tokens. It implements a PKCS#11 module, PKCS#15 support, many card-specific utilities, and platform integration pieces that let applications use private keys without extracting them from cards.

项目历史

The OpenSC project dates to the early 2000s. Its project-history page records libopensc and opensc-apps 0.3.x releases in November and December 2001, and OpenSC 0.4.0 on 2001-12-29 by Juha Yrjola, Antti Tapaninen, and Timo Teras, merging libopensc and opensc-apps into one package and adding abstract card handling.

The project evolved from Unix smart-card tooling into cross-platform middleware. SourceForge metadata records the project as registered on 2001-05-03, and the modern GitHub project describes downloads for Windows installers, macOS installers, source tarballs, and nightly builds.

采用历史

OpenSC became a common free PKCS#11 provider for cards that do not rely solely on vendor middleware. Debian describes it as a way for applications such as Firefox/Iceweasel and Thunderbird/Icedove to use smart cards via PKCS#11, while Red Hat documentation says RHEL provides the OpenSC PKCS#11 driver for smart cards by default.

Its adoption is broad in distribution terms: packages exist across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, Nix, Chocolatey, winget, MacPorts, and openSUSE. That breadth reflects a support role for authentication, mail encryption, digital signatures, VPN/client certificates, SSH, browser certificate stores, and token debugging.

使用方式

Operators use pkcs11-tool, opensc-tool, pkcs15-tool, pkcs15-init, piv-tool, openpgp-tool, and card-specific helpers to inspect readers, list slots, initialize cards, import certificates, test PIN behavior, and exercise cryptographic operations. The package usually reads configuration from opensc.conf and integrates with PC/SC readers.

Applications use the OpenSC PKCS#11 module through NSS, p11-kit, OpenSSL integration layers, browser certificate stores, VPN clients, SSH tooling, and other software that knows PKCS#11. The OpenSC FAQ emphasizes that PKCS#11 is a software API for cryptographic hardware, while PKCS#15 is an on-card filesystem layout; OpenSC bridges both when a supported card allows it.

为什么软件包爱好者会关心

OpenSC is package-nerd gold because it turns hardware variance into a distro-maintained middleware stack. The package surface includes shared libraries, a PKCS#11 module, many tiny card tools, PC/SC integration, Windows MiniDriver support, macOS CryptoTokenKit/Tokend pieces, udev/system integration in some distributions, and card-driver policy encoded in opensc.conf.

时间线

  • 2001-05-03: SourceForge metadata records OpenSC registration.
  • 2001-11-23: OpenSC 0.3 was created.
  • 2001-12-29: OpenSC 0.4.0 merged libopensc and opensc-apps into one package and added abstract card handling.
  • 2002-03-13: OpenSC 0.6.0 added card-reader abstraction and support for additional card families, according to NEWS excerpts.
  • 2025-2026: OpenSC NEWS and wiki history show ongoing releases, card-driver fixes, PKCS#11 changes, and packaging work.

Related projects

  • OpenSC commonly works with pcsc-lite, CCID reader drivers, p11-kit, NSS, libp11, engine_pkcs11, pkcs11-provider, OpenSSL, GnuTLS, Firefox, Thunderbird, OpenVPN, SSH, and hardware tokens or smart cards implementing PIV, OpenPGP, PKCS#15, or vendor-specific applets.

来源

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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
/etc/opensc.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cardos-toolcli全局可执行文件
cryptoflex-toolcli全局可执行文件
dnie-toolcli全局可执行文件
dtrust-toolcli全局可执行文件
egk-toolcli全局可执行文件
eidenvcli全局可执行文件
gids-toolcli全局可执行文件
goid-toolcli全局可执行文件
iasecc-toolcli全局可执行文件
netkey-toolcli全局可执行文件
openpgp-toolcli全局可执行文件
opensc-asn1cli全局可执行文件
opensc-explorercli全局可执行文件
opensc-notifycli全局可执行文件
opensc-toolcli全局可执行文件
piv-toolcli全局可执行文件
pkcs11-registercli全局可执行文件
pkcs11-toolcli全局可执行文件
pkcs15-cryptcli全局可执行文件
pkcs15-initcli全局可执行文件
pkcs15-toolcli全局可执行文件
sc-hsm-toolcli全局可执行文件
westcos-toolcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.27.1
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/OpenSC/OpenSC

安装元数据

软件包元数据

软件包键brew:opensc
版本0.27.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/opensc
主页https://github.com/OpenSC/OpenSC/wiki
仓库https://github.com/OpenSC/OpenSC
上游文档https://github.com/OpenSC/OpenSC/blob/master/README.md
许可证LGPL-2.1-or-later
源码归档https://github.com/OpenSC/OpenSC/releases/download/0.27.1/opensc-0.27.1.tar.gz
最后更新2026-06-22T14:05:44-07:00
Pulseupdated
依赖openssl@3
构建依赖docbook-xsl, pkgconf
macOS 提供的库pcsc-lite
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项The OpenSSH PKCS11 smartcard integration will not work. If you need this functionality, unlink this formula, then install the OpenSC cask.

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

opensc 0.26.1-2

Smart card utilities with support for PKCS#15 compatible cards

https://github.com/OpenSC/OpenSC/wiki

sudo apt install opensc
  • Section: utils
  • Architecture: amd64
  • 6 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Opensc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: opensc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

opensc-pkcs11 0.26.1-2

Smart card utilities (PKCS#11 module)

https://github.com/OpenSC/OpenSC/wiki

sudo apt install opensc-pkcs11
  • Section: utils
  • Architecture: amd64
  • Source Package: opensc
  • 5 依赖
  • normalized package name match
  • 匹配方式:Opensc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: opensc-pkcs11 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

opensc

nix profile install nixpkgs#opensc
  • normalized package name match
  • 匹配方式:Opensc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/op/opensc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

opensc 0.25.0~rc1-1build2

Smart card utilities with support for PKCS#15 compatible cards

https://github.com/OpenSC/OpenSC/wiki

sudo apt install opensc
  • Section: universe/utils
  • Architecture: amd64
  • 6 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Opensc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: opensc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

opensc-pkcs11 0.25.0~rc1-1build2

Smart card utilities (PKCS#11 module)

https://github.com/OpenSC/OpenSC/wiki

sudo apt install opensc-pkcs11
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: opensc
  • 5 依赖
  • normalized package name match
  • 匹配方式:Opensc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: opensc-pkcs11 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

opensc 0.26.1-r0

Open source smart card tools and middleware

https://github.com/OpenSC/OpenSC

sudo apk add opensc
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: opensc
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Opensc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: opensc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

opensc-bash-completion 0.26.1-r0

Bash completions for opensc

https://github.com/OpenSC/OpenSC

sudo apk add opensc-bash-completion
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: opensc
  • normalized package name match
  • 匹配方式:Opensc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: opensc-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

opensc-dev 0.26.1-r0

Open source smart card tools and middleware (development files)

https://github.com/OpenSC/OpenSC

sudo apk add opensc-dev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: opensc
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Opensc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: opensc-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

opensc-doc 0.26.1-r0

Open source smart card tools and middleware (documentation)

https://github.com/OpenSC/OpenSC

sudo apk add opensc-doc
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: opensc
  • normalized package name match
  • 匹配方式:Opensc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: opensc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

opensc 0.27.1-3.fc45

Smart card library and applications

https://github.com/OpenSC/OpenSC/wiki

sudo dnf install opensc
  • License: LGPL-2.1-or-later AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: opensc
  • 9 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Opensc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: opensc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

opensc-libs 0.27.1-3.fc45

OpenSC libraries

https://github.com/OpenSC/OpenSC/wiki

sudo dnf install opensc-libs
  • License: LGPL-2.1-or-later AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: opensc
  • 6 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Opensc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: opensc-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

opensc 0.27.1-2

Tools and libraries for smart cards

https://github.com/OpenSC/OpenSC/wiki

sudo pacman -S opensc
  • License: LGPL
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Opensc
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: opensc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

opensc 0.27.1-1.2

Smart Card Utilities

https://github.com/OpenSC/OpenSC/wiki

sudo zypper install opensc
  • License: LGPL-2.1-or-later
  • Category: Productivity/Security
  • Architecture: x86_64
  • Source Package: opensc
  • 8 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Opensc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: opensc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

opensc-bash-completion 0.27.1-1.2

Bash Completion for opensc

https://github.com/OpenSC/OpenSC/wiki

sudo zypper install opensc-bash-completion
  • License: LGPL-2.1-or-later
  • Category: Productivity/Security
  • Architecture: noarch
  • Source Package: opensc
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Opensc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: opensc-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

opensc

sudo port install opensc
  • normalized package name match
  • 匹配方式:Opensc
MacPorts ports tree · api.github.com · MacPorts ports tree: security/opensc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

opensc

choco install opensc
  • normalized package name match
  • 匹配方式:Opensc
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: opensc from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','office365homepremium'

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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