# Installer libksba avec Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libksba pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install libksba
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libksba
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: Fedora Rawhide package metadata: libksba from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libksba
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:libksba
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.8.0
- **Résumé source:** X.509 and CMS library
- **Page d'accueil:** <https://www.gnupg.org/related_software/libksba/>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- ksba-config (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.8.0
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour libksba. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.


## Autres enregistrements de gestionnaires de paquets

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## Combined YAML source

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


## Sources

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