Installing GPG Suite on macOS

You don’t actually need to install GPG Suite. You can access all your GPG keys via the gpg command line tool via your terminal. Installing GPG Suite gives you the GPG Keychain which makes it easier for you to view all your keys and to store your passphrase in the keychain so that you don’t have to keep typing it in all the time. You can either download and install GPG Suite directly from their website or via Homebrew....

1 min · Jesstern Rays

Save your GPG key passphrase to Keychain

If you use your GPG key to sign your commits you will have to key in your passphrase each time you make a new commit. You can save your passphrase to Keychain with the help of Pinentry Mac. Install pinentry-mac from Homebrew brew install pinentry-mac Open the configuration file to your gpg-agent located at ~/.gnupg/gpg-agent.conf with vim or your favorite editor. vim ~/.gnupg/gpg-agent.conf Add this line to set your pinentry-program to pinentry-mac...

1 min · Jesstern Rays

Sign your commits

How to sign your Git commits with a GPG key

3 min · Jesstern Rays

Using SSH and GPG keys

With most remote Git servers such as GitHub and GitLab, you will see both SSH and GPG keys and you might be wondering what they are used for. SSH keys SSH keys are used for authenticating with the remote Git server without you requiring to key in your username and password. We want to associate an SSH key with your computer’s identity so generate an SSH key for each device. In the event that you lose your computer, you can revoke the SSH key and commits coming from that device will no longer be allowed....

2 min · Jesstern Rays