macOS
brew install libgcryptlocal Homebrew formula metadata
sudo port install libgcryptMacPorts ports tree · devel/libgcrypt/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libgcrypt pour les workflows d'agents IA.
installation
brew install libgcryptlocal Homebrew formula metadata
sudo port install libgcryptMacPorts ports tree · devel/libgcrypt/Portfile · Source: api.github.com
sudo apk add libgcryptAlpine Linux edge package indexes · libgcrypt · Source: dl-cdn.alpinelinux.org
sudo dnf install libgcryptFedora Rawhide package metadata · libgcrypt · Source: dl.fedoraproject.org
nix profile install nixpkgs#libgcryptnixpkgs package indexes · pkgs/by-name/li/libgcrypt/package.nix · Source: api.github.com
sudo pacman -S libgcryptArch Linux sync databases · libgcrypt · Source: geo.mirror.pkgbuild.com
sudo zypper install libgcrypt-developenSUSE Tumbleweed package metadata · libgcrypt-devel · Source: download.opensuse.org
aperçu
Cryptographic library based on the code from GnuPG
historique
Libgcrypt is the GnuPG project's standalone cryptographic building-block library, split out so applications could use GnuPG-derived primitives without embedding the OpenPGP implementation itself. It matters in package ecosystems because it is a low-level C library whose ABI promises, security releases, and CPU-specific optimizations ripple into many security-sensitive applications.
The GnuPG project describes Libgcrypt as a general-purpose cryptographic library originally based on GnuPG code. GnuPG news and release material show the library becoming a separately versioned component by the early 2000s, with a 2003 alpha-series announcement for Libgcrypt 1.1.42 and later 1.2.x, 1.4.x, 1.5.x, 1.7.x, 1.8.x, 1.10.x, and 1.12.x release lines.
Its scope grew from the cryptographic code needed by GnuPG into a broad primitive library covering symmetric ciphers, hashes, MACs, public-key algorithms, multi-precision integers, random-number generation, S-expressions, FIPS-related behavior, and helper tools. The project page also records a packaging-relevant compatibility policy: Libgcrypt versions since 1.2 keep API and ABI compatibility.
Libgcrypt's adoption follows GnuPG's split-library architecture: GnuPG and related projects can share a maintained cryptographic core while packagers ship it as an independent system library. Homebrew, Linux distributions, Nix, MacPorts, and other package managers expose it as a separate package because many consumers need the library without installing or rebuilding the whole GnuPG stack.
The GnuPG release stream treats Libgcrypt security updates as first-class events. Multiple GnuPG news entries call out Libgcrypt releases for side-channel fixes, stable-branch compatibility, new algorithms, and random-number-generator work, which is why downstream maintainers track it closely.
Developers link against Libgcrypt when they need a C API for cryptographic primitives, MPI arithmetic, random bytes, or S-expression-based public-key operations. The command-line helpers packaged with it, such as hmac256 and mpicalc, are secondary to the library but useful for testing and small operational tasks.
The library intentionally does not provide a complete OpenPGP protocol implementation; it supplies lower-level cryptographic operations. That boundary is important for users choosing between Libgcrypt, GPGME, and the GnuPG command-line tools.
For package maintainers, Libgcrypt is a classic shared-library dependency: small on the surface, but security-critical, ABI-sensitive, and tied to CPU feature detection, FIPS behavior, and distribution hardening policies. Its separate release branches let downstreams apply fixes without forcing an application-level GnuPG upgrade.
Its long API/ABI compatibility promise since 1.2 is unusually package-friendly for a cryptographic C library and helps explain why it appears broadly across Unix-like package sets.
posture de sécurité
Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour libgcrypt. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
dumpsexp | cli | exécutable global | |
hmac256 | cli | exécutable global | |
libgcrypt-config | cli | exécutable global | |
mpicalc | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://gnupg.org/related_software/libgcrypt/
métadonnées d'installation
| Clé du paquet | brew:libgcrypt |
|---|---|
| Version | 1.12.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/libgcrypt |
| Page d'accueil | https://gnupg.org/related_software/libgcrypt/ |
| Dépôt | https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git |
| Docs amont | https://www.gnupg.org/documentation/manuals/gcrypt |
| Licence | LGPL-2.1-or-later AND GPL-2.0-or-later |
| Archive source | https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.12.2.tar.bz2 |
| Dernière mise à jour | 2026-06-22T14:05:17-07:00 |
| Pulse | updated |
| Dépendances | libgpg-error |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libgcrypt |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
libgcrypt
nix profile install nixpkgs#libgcryptlibgcrypt 1.12.2-r0
General purpose crypto library based on the code used in GnuPG
sudo apk add libgcryptlibgcrypt-dev 1.12.2-r0
General purpose crypto library based on the code used in GnuPG (development files)
sudo apk add libgcrypt-devlibgcrypt-doc 1.12.2-r0
General purpose crypto library based on the code used in GnuPG (documentation)
sudo apk add libgcrypt-doclibgcrypt-static 1.12.2-r0
General purpose crypto library based on the code used in GnuPG (static library)
sudo apk add libgcrypt-staticlibgcrypt 1.12.2-1.fc45
A general-purpose cryptography library
sudo dnf install libgcryptlibgcrypt-devel 1.12.2-1.fc45
Development files for the libgcrypt package
sudo dnf install libgcrypt-devellibgcrypt 1.12.2-1
General purpose cryptographic library based on the code from GnuPG
sudo pacman -S libgcryptlibgcrypt-devel 1.12.2-1.2
The GNU Crypto Library
https://gnupg.org/software/libgcrypt
sudo zypper install libgcrypt-devellibgcrypt-devel-32bit 1.12.2-1.2
The GNU Crypto Library
https://gnupg.org/software/libgcrypt
sudo zypper install libgcrypt-devel-32bitlibgcrypt-devel-x86-64-v3 1.12.2-1.2
The GNU Crypto Library
https://gnupg.org/software/libgcrypt
sudo zypper install libgcrypt-devel-x86-64-v3libgcrypt20 1.12.2-1.2
The GNU Crypto Library
https://gnupg.org/software/libgcrypt
sudo zypper install libgcrypt20libgcrypt20-32bit 1.12.2-1.2
The GNU Crypto Library
https://gnupg.org/software/libgcrypt
sudo zypper install libgcrypt20-32bitlibgcrypt20-x86-64-v3 1.12.2-1.2
The GNU Crypto Library
https://gnupg.org/software/libgcrypt
sudo zypper install libgcrypt20-x86-64-v3libgcrypt
sudo port install libgcryptpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.