# libksba mit Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper installieren

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

## Installation

```sh
sudo av install brew:libksba
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install libksba
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libksba
```

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

### Linux

- apk (92%):

```sh
sudo apk add libksba
```

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

- dnf (92%):

```sh
sudo dnf install libksba
```

  Evidenz: Fedora Rawhide package metadata: libksba 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#libksba
```

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

- pacman (92%):

```sh
sudo pacman -S libksba
```

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

- Debian apt (92%):

```sh
sudo apt install libksba-dev
```

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

- zypper (92%):

```sh
sudo zypper install libksba-devel
```

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

## Paketfakten

- **Paketschlüssel:** brew:libksba
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/libksba>
- **Version:** 1.8.0
- **Quellzusammenfassung:** X.509 and CMS library
- **Homepage:** <https://www.gnupg.org/related_software/libksba/>
- **Upstream-Dokumentation:** <https://www.gnupg.org/related_software/libksba/>
- **Lizenz:** LGPL-3.0-or-later OR GPL-2.0-or-later
- **Quellarchiv:** <https://gnupg.org/ftp/gcrypt/libksba/libksba-1.8.0.tar.bz2>
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- ksba-config (cli)
- ksba-config (Alias)

## Abhängigkeiten

- libgpg-error

## Installationsverhalten

- Post-install-Hook: nicht definiert
- 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: 1.8.0
- lokale Daten: OK
- Upstream-Repository: https://www.gnupg.org/related_software/libksba/
- Info: No package-manager update timestamp was available.
- Info: Release/tag comparison is only available for GitHub repositories.
## Projektgeschichte und Nutzung

Libksba is GnuPG's X.509 and CMS library. It gives C applications a shared interface for parsing and handling X.509 certificates, CMS/PKCS#7 messages, certificate revocation lists, and PKCS#10 certificate requests.

### Projektgeschichte

GnuPG's Libksba page describes the library as a way to hide the many protocol details and dialects of X.509 certificates, CMS data, and related objects behind one C API. The README explains that KSBA is pronounced Kasbah, ships as a standard shared library, and deliberately does not rely on another cryptographic library.

The reference manual edition 1.0.6 was last updated on 2009-01-09 for KSBA 1.0.6, showing that Libksba had already stabilized as a documented component of the GnuPG library set by the late 2000s. GnuPG download metadata lists Libksba 1.8.0 on 2026-05-13.

### Adoptionsgeschichte

Libksba's adoption is mostly through GnuPG and GnuPG-adjacent packaging. The README says GnuPG's dirmngr module makes extensive use of Libksba's OCSP feature, while GnuPG documentation and related manuals identify gpgsm as the X.509/CMS counterpart to gpg for S/MIME workflows.

It appears in Homebrew, Debian, Ubuntu, Fedora, Alpine, Arch, MacPorts, Nix, and openSUSE because GnuPG stacks are base security infrastructure on Unix-like systems. Users rarely install it for its own UI; they inherit it through certificate, S/MIME, and CMS support.

### Wie es verwendet wird

Developers use Libksba when they need C-level access to X.509 certificate structures, CMS messages, CRLs, PKCS#10 requests, and related parsing/serialization inside GnuPG-style applications. Packagers see ksba-config as the small build-helper executable attached to the library.

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

Libksba is significant because it is a quiet security plumbing package: not the cryptographic primitive library, not the mail client, and not the gpg command, but the X.509/CMS parser layer that lets GnuPG's S/MIME side exist as a separately packaged dependency.

### Zeitleiste

- 2001: README copyright range begins with 2001 for g10 Code GmbH.
- 2009-01-09: KSBA Reference Manual edition 1.0.6 last updated for library version 1.0.6.
- 2020-11-19: GnuPG Libksba web page source date.
- 2026-05-13: GnuPG download page lists Libksba 1.8.0.

### Related projects

- Related projects include GnuPG, gpgsm, dirmngr, GPGME, Gpg4win, S/MIME, X.509, CMS/PKCS#7, CRLs, OCSP, and PKCS#10 tooling.

### Quellen

- <https://formulae.brew.sh/formula/libksba>
- <https://github.com/gpg/libksba>
- <https://www.gnupg.org/documentation/manuals/ksba>
- <https://www.gnupg.org/download/index.html>
- <https://www.gnupg.org/software/libksba/index.html>


## Sicherheitshinweise

Für libksba wurde kein passendes lokales Secret-Handling-Manifest gefunden. Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.


## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libksba
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Andere Paketmanager-Einträge

- Debian apt - libksba-dev - 1.6.7-2+b1: normalized package name match | Debian stable package indexes: libksba-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | X.509 and CMS support library - development files | https://www.gnupg.org/related_software/libksba/
- Debian apt - libksba-mingw-w64-dev - 1.6.7-2: normalized package name match | Debian stable package indexes: libksba-mingw-w64-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | X.509 and CMS support library (Windows development) | https://www.gnupg.org/related_software/libksba/
- Debian apt - libksba8 - 1.6.7-2+b1: normalized package name match | Debian stable package indexes: libksba8 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | X.509 and CMS support library | https://www.gnupg.org/related_software/libksba/
- Nix - libksba: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libksba/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libksba-dev - 1.6.6-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libksba-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | X.509 and CMS support library - development files | https://www.gnupg.org/related_software/libksba/
- Ubuntu apt - libksba-mingw-w64-dev - 1.6.6-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libksba-mingw-w64-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | X.509 and CMS support library (Windows development) | https://www.gnupg.org/related_software/libksba/
- Ubuntu apt - libksba8 - 1.6.6-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libksba8 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | X.509 and CMS support library | https://www.gnupg.org/related_software/libksba/
- apk - libksba - 1.7.0-r0: normalized package name match | Alpine Linux edge package indexes: libksba from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Libksba is a CMS and X.509 access library | https://www.gnupg.org/software/libksba/index.html
- apk - libksba-dev - 1.7.0-r0: normalized package name match | Alpine Linux edge package indexes: libksba-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Libksba is a CMS and X.509 access library (development files) | https://www.gnupg.org/software/libksba/index.html
- apk - libksba-doc - 1.7.0-r0: normalized package name match | Alpine Linux edge package indexes: libksba-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Libksba is a CMS and X.509 access library (documentation) | https://www.gnupg.org/software/libksba/index.html
- dnf - libksba - 1.8.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: libksba from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | CMS and X.509 library | https://www.gnupg.org/
- dnf - libksba-devel - 1.8.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: libksba-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development headers and libraries for libksba | https://www.gnupg.org/
- pacman - libksba - 1.8.0-1: normalized package name match | Arch Linux sync databases: libksba from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | Library for working with X.509 certificates, CMS data and related objects | https://www.gnupg.org/related_software/libksba/
- zypper - libksba-devel - 1.8.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libksba-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A X.509 Library | https://www.gnupg.org
- zypper - libksba8 - 1.8.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libksba8 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A X.509 Library | https://www.gnupg.org
- MacPorts - libksba: normalized package name match | MacPorts ports tree: devel/libksba/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Verwandte Links

- [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.
- [Homebrew utility packages](https://pkg.so/de/brew-utility-packages/) - Matched Homebrew package provider.
- [libgpg-error](https://pkg.so/de/brew/libgpg-error/) - Runtime dependency declared by Homebrew.
- [gnupg](https://pkg.so/de/brew/gnupg/) - Popular package that depends on this formula.
- [ntbtls](https://pkg.so/de/brew/ntbtls/) - Popular package that depends on this formula.
- [gpgme](https://pkg.so/de/brew/gpgme/) - Shares pkgdb curated category or tags: cli, cryptography, gnupg, library, security.
- [botan](https://pkg.so/de/brew/botan/) - Shares pkgdb curated category or tags: cli, cryptography, library, security, x509.
- [smimesign](https://pkg.so/de/brew/smimesign/) - Shares pkgdb curated category or tags: cli, cryptography, security, smime, x509.
- [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, security.
- [libassuan](https://pkg.so/de/brew/libassuan/) - Shares pkgdb curated category or tags: cli, gnupg, library, security.
- [mbedtls](https://pkg.so/de/brew/mbedtls/) - Shares pkgdb curated category or tags: cli, cryptography, security, x509.

## Combined YAML source

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


## Quellen

- pkg.so package database
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
