# libksba を Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper でインストール

libksba のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install libksba
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libksba
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:libksba
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.8.0
- **ソース概要:** X.509 and CMS library
- **ホームページ:** <https://www.gnupg.org/related_software/libksba/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ksba-config (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.8.0
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

libksba に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


## 他のパッケージマネージャ記録

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


## ソース

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