gnupg

Install command:
brew install gnupg

Also known as: gnupg@2.5, gpg, gpg2

GNU Privacy Guard (OpenPGP)

https://gnupg.org/

License: GPL-3.0-or-later

Development: Pull requests

Formula JSON API: /api/formula/gnupg.json

Formula code: gnupg.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.5.24

Other versions:

gnupg@1.4 1.4.23 GNU Privacy Guard (OpenPGP)

Revision: 1

Depends on:

gnutls 3.8.13 GNU Transport Layer Security (TLS) Library
libassuan 3.0.2 Assuan IPC Library
libgcrypt 1.12.4 Cryptographic library based on the code from GnuPG
libgpg-error 1.61 Common error values for all GnuPG components
libksba 1.8.1 X.509 and CMS library
libusb 1.0.30 Library for USB device access
npth 1.8 New GNU portable threads library
pinentry 1.3.3 Passphrase entry dialog utilizing the Assuan protocol
readline 8.3.6 Library for command-line editing
gettext 1.0 GNU internationalization (i18n) and localization (l10n) library

Depends on when building from source:

pkgconf 3.0.10 Package compiler and linker metadata toolkit

Uses from macOS: bzip2, openldap, sqlite

Binaries: addgnupghome, applygnupgdefaults, dirmngr, dirmngr-client, gpg, gpg-agent, gpg-authcode-sign.sh, gpg-card, gpg-connect-agent, gpg-mail-tube, gpg-wks-client, gpg-wks-server, gpgconf, gpgparsemail, gpgscm, gpgsm, gpgsplit, gpgtar, gpgv, kbxutil, watchgnupg

GitHub Packages downloads:

Last 30 days691,358
Downloads22,250,264
Analytics install events (30 days)73,311
Downloads / install events (30 days)9.4×

Source: GitHub Packages, fetched 2026-11-02T00:41:30Z. Analytics dates: 2026-10-03 to 2026-11-02. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs73,247199,517957,137
Installs (--HEAD)64158667
Installs on Request38,134107,528547,877
Installs on Request (--HEAD)59150649
Build Errors185