Created
December 22, 2021 21:03
-
-
Save dotLou/297baf0cc34031a56b9072d55b253ea2 to your computer and use it in GitHub Desktop.
git commit signing on mac os
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Import GPG keys from 1password/keybase/etc. (public & private!) | |
2. `brew install gpg gpg2 pinentry-mac` | |
3. `echo "pinentry-program $(which pinentry-mac)" | tee ~/.gnupg/gpg-agent.conf` | |
4. Restart the agent (something like `pkill -TERM gpg-agent` and then a new terminal) | |
5. Test it out `echo test | gpg -e -r EMAIL_GOES_HERE | gpg -d` (replace `EMAIL_GOES_HERE` with email of target key) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment