macOS
brew install gnupglocal Homebrew formula metadata
brew
GNU Privacy Guard (OpenPGP). Version 2.5.21 via Homebrew; verified 2026-07-02.
install
brew install gnupglocal Homebrew formula metadata
sudo apk add gnupgAlpine Linux edge package indexes · gnupg · source: dl-cdn.alpinelinux.org
sudo apt install gnupgDebian stable package indexes · gnupg · source: deb.debian.org
sudo dnf install gnupg2Fedora Rawhide package metadata · gnupg2 · source: dl.fedoraproject.org
nix profile install nixpkgs#gnupgnixpkgs package indexes · gnupg · source: raw.githubusercontent.com
sudo pacman -S gnupgArch Linux sync databases · gnupg · source: geo.mirror.pkgbuild.com
sudo zypper install gpg2openSUSE Tumbleweed package metadata · gpg2 · source: download.opensuse.org
choco install gnupgChocolatey community package catalog · gnupg · source: community.chocolatey.org
scoop install main/gnupgScoop official bucket manifest trees · bucket/gnupg.json · source: api.github.com
winget install --id GnuPG.GnuPG -eWindows Package Manager source index · GnuPG.GnuPG · source: cdn.winget.microsoft.com
overview
GNU Privacy Guard (OpenPGP)
history
GnuPG, also known as GPG, is the GNU Privacy Guard: a free implementation of the OpenPGP standard used for encryption, signatures and key management.
GnuPG was introduced in 1997 as Free Software and became the GNU project's OpenPGP implementation. The project describes it as a complete and free implementation of OpenPGP, with command-line integration, key-management facilities and access modules for public-key directories.
The release-line history shows the 1.0 branch born in 1999, the 1.4 branch in 2004, the 2.0 branch in 2006 and later 2.x branches adding the more modular architecture around gpg-agent, dirmngr, gpgsm, smart-card support and supporting libraries.
GnuPG became a standard security tool in Unix-like systems and software-distribution workflows. The project download page notes that common Linux distributions such as Debian, Fedora, Red Hat and Ubuntu include GnuPG, while Gpg4win provides an integrated Windows distribution with a context menu tool, crypto manager and Outlook plugin.
Its ecosystem includes libraries and frontends as well as helper packages such as pinentry, GPGME, GPA and Scute. That surrounding stack made GnuPG a platform for applications needing OpenPGP operations rather than only an interactive command.
Practitioners use GnuPG to encrypt and decrypt files or messages, create and verify signatures, manage public and private keys, fetch or publish keys through directory mechanisms, operate smart cards and verify downloaded source releases. Its command-line interface also makes it common in scripts, build systems and release automation.
For package users, GnuPG is foundational plumbing: it links archive signatures, maintainer keys, trust databases, agents, pinentry programs, smart-card daemons and language bindings. Installing it often means installing the small operational security stack around OpenPGP, not just the gpg binary.
security posture
No matching local secret-handling manifest was found for gnupg. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
~/.gnupg/gpg.conf~/.gnupg/gpg-agent.conf~/.gnupg/dirmngr.conf~/.gnupg/common.confCredential-bearing paths to review before unattended agent runs.
~/.gnupg/private-keys-v1.d/~/.gnupg/secring.gpg~/.gnupg/trustdb.gpgexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
addgnupghome | cli | global executable | |
applygnupgdefaults | cli | global executable | |
dirmngr | cli | global executable | |
dirmngr-client | cli | global executable | |
gpg | cli | global executable | |
gpg-agent | cli | global executable | |
gpg-authcode-sign.sh | cli | global executable | |
gpg-card | cli | global executable | |
gpg-connect-agent | cli | global executable | |
gpg-mail-tube | cli | global executable | |
gpg-wks-client | cli | global executable | |
gpg-wks-server | cli | global executable | |
gpgconf | cli | global executable | |
gpgparsemail | cli | global executable | |
gpgscm | cli | global executable | |
gpgsm | cli | global executable | |
gpgsplit | cli | global executable | |
gpgtar | cli | global executable | |
gpgv | cli | global executable | |
kbxutil | cli | global executable | |
watchgnupg | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:gnupg |
|---|---|
| Version | 2.5.21 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gnupg |
| Homepage | https://gnupg.org/ |
| Repository | https://dev.gnupg.org/source/gnupg.git |
| Upstream docs | https://gnupg.org/documentation/index.html |
| License | GPL-3.0-or-later |
| Source archive | https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.5.21.tar.bz2 |
| Last updated | 2026-07-02T18:06:04Z |
| Pulse | updated |
| Dependencies | gettext, gnutls, libassuan, libgcrypt, libgpg-error, libksba, libusb, npth, pinentry, readline |
| Build dependencies | pkgconf |
| Uses from macOS | bzip2, openldap, sqlite |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gnupg |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gnupg 2.4.7-21+deb13u1
GNU privacy guard - a free PGP replacement
sudo apt install gnupggnupg
nix profile install nixpkgs#gnupggnupg 2.4.4-2ubuntu17
GNU privacy guard - a free PGP replacement
sudo apt install gnupggnupg 2.4.9-r1
GNU Privacy Guard 2 - meta package for full GnuPG suite
sudo apk add gnupggnupg-dirmngr 2.4.9-r1
GNU Privacy Guard 2 - network certificate management service
sudo apk add gnupg-dirmngrgnupg-doc 2.4.9-r1
GNU Privacy Guard 2 - meta package for full GnuPG suite (documentation)
sudo apk add gnupg-docgnupg-gpgconf 2.4.9-r1
GNU Privacy Guard 2 - core configuration utilities
sudo apk add gnupg-gpgconfgnupg-keyboxd 2.4.9-r1
GNU Privacy Guard 2 - keyboxd manager
sudo apk add gnupg-keyboxdgnupg-lang 2.4.9-r1
Languages for package gnupg
sudo apk add gnupg-langgnupg-scdaemon 2.4.9-r1
GNU Privacy Guard 2 - smart card support daemon
sudo apk add gnupg-scdaemongnupg-scdaemon-udev 2.4.9-r1
GNU Privacy Guard 2 - meta package for full GnuPG suite (udev rules)
sudo apk add gnupg-scdaemon-udevgnupg-utils 2.4.9-r1
GNU Privacy Guard 2 - utility programs
sudo apk add gnupg-utilsgnupg-wks-client 2.4.9-r1
GNU Privacy Guard 2 - Web Key Service client
sudo apk add gnupg-wks-clientgpg 2.4.9-r1
GNU Privacy Guard 2 - public key operations only
sudo apk add gpggpg-agent 2.4.9-r1
GNU Privacy Guard 2 - cryptographic agent
sudo apk add gpg-agentgpg-wks-server 2.4.9-r1
GNU Privacy Guard 2 - Web Key Service server
sudo apk add gpg-wks-serversource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.