- Import GPG keys from 1password/keybase/etc. (public & private!)
brew install gpg gpg2 pinentry-macecho "pinentry-program $(which pinentry-mac)" | tee ~/.gnupg/gpg-agent.conf- Restart the agent (something like
pkill -TERM gpg-agentand then a new terminal) - Test it out
echo test | gpg -e -r EMAIL_GOES_HERE | gpg -d(replaceEMAIL_GOES_HEREwith email of target key)
Created
December 22, 2021 21:05
-
-
Save dotLou/28a208198d5625fcdeff6d24ab3499ad to your computer and use it in GitHub Desktop.
git commit signing with gpg keys on mac os
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe not required, but I also installed gpg suite before step 2 here