pinentry-mac

Install command:
brew install pinentry-mac

Pinentry for GPG on Mac

https://github.com/GPGTools/pinentry

License: GPL-2.0-or-later AND GPL-3.0-or-later

Development: Pull requests

Formula JSON API: /api/formula/pinentry-mac.json

Formula code: pinentry-mac.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
ventura ✅
macOS on
Intel
sonoma ✅
ventura ✅

Current versions:

stable ✅ 1.3.1.1
head ⚡️ HEAD

Depends on:

libassuan 3.0.2 Assuan IPC Library
libgpg-error 1.61 Common error values for all GnuPG components

Depends on when building from source:

autoconf 2.73 Automatic configure script builder
automake 1.20 Tool for generating GNU Standards-compliant Makefiles
gettext 1.0 GNU internationalization (i18n) and localization (l10n) library
libtool 2.6.2 Generic library support script

Requires: Xcode (build), macOS

Binaries: pinentry-mac

You can now set this as your pinentry program like

~/.gnupg/gpg-agent.conf
     pinentry-program $HOMEBREW_PREFIX/bin/pinentry-mac

GitHub Packages downloads:

Last 30 days23,001
Downloads1,068,658
Analytics install events (30 days)1,828
Downloads / install events (30 days)12.6×

Source: GitHub Packages, fetched 2026-11-23T01:04:58Z. Analytics dates: 2026-10-24 to 2026-11-23. 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
Installs1,8224,40222,278
Installs (--HEAD)61452
Installs on Request1,8144,37022,074
Installs on Request (--HEAD)61452
Build Errors0