Encryption

Signing your commits with GPG (GNU Privacy Guard)

1. Pre-requisites Install GPG and PINEntry if not already installed Linux For Linux, install via your distro’s package manager. Mac For Mac, install via Homebrew: brew install gpg pinentry-mac Then to set pinentry-mac as your GPG PIN entry program, create ~/.gnupg/gpg-agent.conf if it doesn’t exist, and add the following line to it: pinentry-program /opt/homebrew/bin/pinentry-mac Windows For Windows, it is highly recommended that you use WSL and follow this guide within your Linux subsystem (including using the Linux distro’s package manager to install GPG)....

18 April 2022 · 6 min · Toby Scott