Signing With GPG
Although GPG is not yet fully integrated into Gitfox, you can still
git sign your commits automatically on commit.
To do this configure your system as follows:
Install either the Retail or SetApp versions of Gitfox
The AppStore version won’t work for signing because Gitfox cannot access tools that are located outside of the sandbox container.
Install GPG and pinentry-mac using Homebrew
brew install gnupg pinentry-mac
Configure GPG to use
echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
List your GPG keys
4.1. If you don’t have a key, generate one
gitto automatically sign commits using GPG
git config --global commit.gpgsign true git config --global user.signingkey <YOURPUBLICKEYHASH>
Restart the GPG agent
gpgconf --kill gpg-agent
Your commits should now be signed automatically on commit.
pinentry-mac will prompt you for your GPG key passphrase on your first commit.
You can tell
pinentry-mac to store it in your keychain, so you won’t be prompted again.