brew cask install gpg-suite
"/usr/local/Caskroom/gpg-suite/{{version}}/Install.pkg"
- Run
gpg --list-secret-keys
and look forsec
, use the key ID for the next step - Configure
git
to use GPG -- replace the key with the one fromgpg --list-secret-keys --keyid-format LONG
git config --global gpg.program /usr/local/MacGPG2/bin/gpg2
git config --global user.signingkey {{sec value}}
git config --global commit.gpgsign true
- Optionally configure annotated tags to be GPG signed
git config --global tag.forceSignAnnotated true
- Add this line to
~/.gnupg/gpg.conf
no-tty
open https://github.com/settings/keys
open /Applications/GPG\ Keychain.app
# Copy your public GPG key
- https://github.com/pstadler/keybase-gpg-github
/usr/local/MacGPG2
-- this is where MacGPG binaries live- https://gpgtools.org