Install command:
brew install gnupg

Also known as: gnupg2, gnupg@2.2, gpg, gpg2

Formerly known as: gnupg2

GNU Pretty Good Privacy (PGP) package

License: GPL-3.0-or-later

/api/formula/gnupg.json (JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel x86_64 big sur, catalina, mojave
Apple Silicon big sur

Current versions:

stable 2.2.27

Other versions:

gnupg@1.4 1.4.23 GNU Pretty Good Privacy (PGP) package

Depends on:

adns 1.6.0 C/C++ resolver library and DNS resolver utilities
gettext 0.21 GNU internationalization (i18n) and localization (l10n) library
gnutls 3.6.15 GNU Transport Layer Security (TLS) Library
libassuan 2.5.4 Assuan IPC Library
libgcrypt 1.8.7 Cryptographic library based on the code from GnuPG
libgpg-error 1.41 Common error values for all GnuPG components
libksba 1.5.0 X.509 and CMS library
libusb 1.0.24 Library for USB device access
npth 1.6 New GNU portable threads library
pinentry 1.1.0 Passphrase entry dialog utilizing the Assuan protocol

Depends on when building from source:

pkg-config 0.29.2 Manage compile and link flags for libraries


Installs (30 days)
gnupg 94,599
Installs on Request (30 days)
gnupg 86,658
Build Errors (30 days)
gnupg 29
Installs (90 days)
gnupg 258,005
Installs on Request (90 days)
gnupg 235,251
Installs (365 days)
gnupg 703,870
Installs on Request (365 days)
gnupg 625,660
Fork me on GitHub