This repository requires commit signing. This document outlines how to get commit signing setup for this repo.
If you're on a Mac, you can install the gpg CLI via homebrew with
brew install gpgThen you can use the gpg tool to generate a keypair:
gpg --default-new-key-algo rsa4096 --quick-generate-key --batch --passphrase "" "Firstname Lastname <youremail@provider.com>"Replace youremail@provider.com with your actual email. Leave the angle brackets though!
From your GitHub settings (SSH & GPG Keys), you'll need to upload your recently-generated GPG public key. You can use the following command to grab that key:
gpg --armor --export youremail@provider.com | pbcopyThis should copy your public key to your clipboard, and you can paste this into your GitHub settings page (for adding a new GPG key).
Now, let's set a few git options local for this repo. Make sure you're cd'd into this repo and then run the following.
# Use your public GitHub credentials
git config user.name "Firstname Lastname"
git config user.email "youremail@provider.com"
# Set up commit signing
git config user.signingkey youremail@provider.com
git config user.gpgsign trueNotice the lack of --global flag in those commands. This will set these git credentials/configuration for just this repository.