# opensc mit Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für opensc in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:opensc
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install opensc
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install opensc
```

  Evidenz: MacPorts ports tree: security/opensc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add opensc
```

  Evidenz: Alpine Linux edge package indexes: opensc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install opensc
```

  Evidenz: Debian stable package indexes: opensc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install opensc
```

  Evidenz: Fedora Rawhide package metadata: opensc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#opensc
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/op/opensc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S opensc
```

  Evidenz: Arch Linux sync databases: opensc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install opensc
```

  Evidenz: openSUSE Tumbleweed package metadata: opensc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install opensc
```

  Evidenz: Chocolatey community package catalog: opensc from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','openconnect-gui'

- winget (92%):

```sh
winget install --id OpenSC.OpenSC -e
```

  Evidenz: Windows Package Manager source index: OpenSC.OpenSC from https://cdn.winget.microsoft.com/cache/source.msix

## Paketfakten

- **Paketschlüssel:** brew:opensc
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/opensc>
- **Version:** 0.27.1
- **Quellzusammenfassung:** Tools and libraries for smart cards
- **Homepage:** <https://github.com/OpenSC/OpenSC/wiki>
- **Repository:** <https://github.com/OpenSC/OpenSC>
- **Upstream-Dokumentation:** <https://github.com/OpenSC/OpenSC/wiki>
- **Lizenz:** LGPL-2.1-or-later
- **Quellarchiv:** <https://github.com/OpenSC/OpenSC/releases/download/0.27.1/opensc-0.27.1.tar.gz>
- **Zuletzt aktualisiert:** 2026-06-22T14:05:44-07:00
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

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

## Abhängigkeiten

- openssl@3

## Build-Abhängigkeiten

- docbook-xsl
- pkgconf

## Von macOS bereitgestellte Bibliotheken

- pcsc-lite

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Einschränkungen: The OpenSSH PKCS11 smartcard integration will not work. If you need this functionality, unlink this formula, then install the OpenSC cask.
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 0.27.1
- Manager aktualisiert: 2026-06-22
- lokale Daten: OK
- Upstream-Repository: https://github.com/OpenSC/OpenSC
- Info: No cached GitHub release or tag data was available.
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

- <https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/security_hardening/configuring-applications-to-use-cryptographic-hardware-through-pkcs-11_security-hardening>
- <https://github.com/OpenSC/OpenSC>
- <https://github.com/OpenSC/OpenSC/blob/master/NEWS>
- <https://github.com/OpenSC/OpenSC/wiki/Creating-applications-with-smart-card-support>
- <https://github.com/OpenSC/OpenSC/wiki/Frequently-Asked-Questions>
- <https://github.com/OpenSC/OpenSC/wiki/History-of-the-OpenSC-Project>
- <https://packages.debian.org/sid/opensc-pkcs11>
- <https://sourceforge.net/projects/opensc/>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals


## 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

- Unix: /etc/opensc.conf
## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** opensc
- **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:** head, stable

## Andere Paketmanager-Einträge

- Debian apt - opensc - 0.26.1-2: normalized package name match | Debian stable package indexes: opensc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Smart card utilities with support for PKCS#15 compatible cards | https://github.com/OpenSC/OpenSC/wiki
- Debian apt - opensc-pkcs11 - 0.26.1-2: normalized package name match | Debian stable package indexes: opensc-pkcs11 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Smart card utilities (PKCS#11 module) | https://github.com/OpenSC/OpenSC/wiki
- Nix - opensc: normalized package name match | nixpkgs package indexes: pkgs/by-name/op/opensc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - opensc - 0.25.0~rc1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: opensc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Smart card utilities with support for PKCS#15 compatible cards | https://github.com/OpenSC/OpenSC/wiki
- Ubuntu apt - opensc-pkcs11 - 0.25.0~rc1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: opensc-pkcs11 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Smart card utilities (PKCS#11 module) | https://github.com/OpenSC/OpenSC/wiki
- apk - opensc - 0.27.1-r0: normalized package name match | Alpine Linux edge package indexes: opensc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open source smart card tools and middleware | https://github.com/OpenSC/OpenSC
- apk - opensc-bash-completion - 0.27.1-r0: normalized package name match | Alpine Linux edge package indexes: opensc-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for opensc | https://github.com/OpenSC/OpenSC
- apk - opensc-dev - 0.27.1-r0: normalized package name match | Alpine Linux edge package indexes: opensc-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open source smart card tools and middleware (development files) | https://github.com/OpenSC/OpenSC
- apk - opensc-doc - 0.27.1-r0: normalized package name match | Alpine Linux edge package indexes: opensc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open source smart card tools and middleware (documentation) | https://github.com/OpenSC/OpenSC
- dnf - opensc - 0.27.1-12.fc45: normalized package name match | Fedora Rawhide package metadata: opensc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Smart card library and applications | https://github.com/OpenSC/OpenSC/wiki
- dnf - opensc-libs - 0.27.1-12.fc45: normalized package name match | Fedora Rawhide package metadata: opensc-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | OpenSC libraries | https://github.com/OpenSC/OpenSC/wiki
- pacman - opensc - 0.27.1-2: normalized package name match | Arch Linux sync databases: opensc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Tools and libraries for smart cards | https://github.com/OpenSC/OpenSC/wiki
- zypper - opensc - 0.27.1-2.3: normalized package name match | openSUSE Tumbleweed package metadata: opensc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Smart Card Utilities | https://github.com/OpenSC/OpenSC/wiki
- zypper - opensc-bash-completion - 0.27.1-2.3: normalized package name match | openSUSE Tumbleweed package metadata: opensc-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for opensc | https://github.com/OpenSC/OpenSC/wiki
- MacPorts - opensc: normalized package name match | MacPorts ports tree: security/opensc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - opensc: normalized package name match | Chocolatey community package catalog: opensc from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','openconnect-gui'


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/de/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/de/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [openssl@3](https://pkg.so/de/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/de/brew/pkgconf/) - Build dependency declared by Homebrew.
- [docbook-xsl](https://pkg.so/de/brew/docbook-xsl/) - Build dependency declared by Homebrew.
- [botan](https://pkg.so/de/brew/botan/) - Shares pkgdb curated category or tags: cli, cryptography, library, security.
- [rnp](https://pkg.so/de/brew/rnp/) - Shares pkgdb curated category or tags: cli, cryptography, library, security.
- [nettle](https://pkg.so/de/brew/nettle/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [nss](https://pkg.so/de/brew/nss/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [libxmlsec1](https://pkg.so/de/brew/libxmlsec1/) - Shares pkgdb curated category or tags: cli, cryptography, library, security.
- [aws-lc](https://pkg.so/de/brew/aws-lc/) - Shares pkgdb curated category or tags: cli, cryptography, library, security.
- [gnutls](https://pkg.so/de/brew/gnutls/) - Shares pkgdb curated category or tags: cli, cryptography, library, security.
- [p11-kit](https://pkg.so/de/brew/p11-kit/) - Shares pkgdb curated category or tags: cli, cryptography, library, pkcs11, security.
- [pkcs11-tools](https://pkg.so/de/brew/pkcs11-tools/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, openssl, openssl-3, pkcs11.
- [gnupg-pkcs11-scd](https://pkg.so/de/brew/gnupg-pkcs11-scd/) - Security-sensitive metadata or terminology overlaps. Shared terms: card, cli, cryptography, openssl, openssl-3.

## Combined YAML source

View the package source record on GitHub. [combined/opensc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/opensc.yml)


## Quellen

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