Skip to content

Instantly share code, notes, and snippets.

View iainsmith's full-sized avatar

Iain Smith iainsmith

View GitHub Profile
@iainsmith
iainsmith / git-gpg.md
Last active November 3, 2021 09:31 — forked from bcomnes/git-gpg.md
my version of gpg on the mac
  1. brew install gnupg pinentry-mac (this includes gpg-agent and pinentry)
  2. Generate a key: gpg --full-generate-key
  • Use the same user.email & user.name that you use in your git config
  1. Tell gpg-agent to use pinentry-mac:

    $ vi ~/.gnupg/gpg-agent.conf