Gitfox Gitfox

What can we help you with?

Signing With GPG

Although GPG is not yet fully integrated into Gitfox, you can still let git sign your commits automatically on commit.

To do this configure your system as follows:

  1. 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.

  2. Install GPG and pinentry-mac using Homebrew

     brew install gnupg pinentry-mac
  3. Configure GPG to use pinentry-mac

     echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
  4. List your GPG keys

     gpg --list-keys

    4.1. If you don’t have a key, generate one

     gpg --gen-key
  5. Configure git to automatically sign commits using GPG

     git config --global commit.gpgsign true
     git config --global user.signingkey <YOURPUBLICKEYHASH>
  6. 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.

Did not find what you are looking for? Email us - we are always here to help!