Skip to content

Instantly share code, notes, and snippets.

@kremalicious
Last active August 18, 2019 18:23
Show Gist options
  • Save kremalicious/65154a940c7717a62966158a7feb21c3 to your computer and use it in GitHub Desktop.
Save kremalicious/65154a940c7717a62966158a7feb21c3 to your computer and use it in GitHub Desktop.
gpg 2.1 on macOS with keychain integration

Super simple installation, none of that manual gpg-agent starting and setting sockets anymore.

Just install with Homebrew:

brew install gpg pinentry-mac

and add this to ~/.gnupg/gpg-agent.conf:

pinentry-program /usr/local/bin/pinentry-mac

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment