• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Deeper Scenery

Further up and further in

  • Home
  • Blog
  • Code
  • Tutorials
  • Privacy Policy
You are here: Home / Ideas / Git Commit Signing with Keybase.io

Ideas · Published: November 12, 2018 · Modified: November 12, 2018

Git Commit Signing with Keybase.io

This is just a small idea. For more information, see this blog post.

I’ve been using Keybase.io (you can find me there as JPry) for a little while now, and it occurred to me that I really should be signing my commits with Git. So last week I decided to set that up, and it was easier than I expected.

This is the short version of what I did (approximately), and in the future I hope to make this into a more detailed tutorial:

  1. brew cask install keybase – Install the Keybase app using Homebrew
  2. brew cask install gpg-suite – Install the GPG suite
  3. keybase pgp gen – Create a new GPG key (I didn’t already have one)
  4. Grab the public key using keybase pgp export, then feed it into GitHub.
  5. git config --global user.signingkey <my_key_ID> – Tell my local git to use my GPG key for signing
  6. git config --global commit.gpgsign true – Enable GPG commit signing

What you end up with are commits that have the “Verified” label in GitHub, which is an affirmation that I was actually the one who made those commits.

Filed Under: Ideas Tagged With: git, github, gpg, keybase

Previous Post: « Advanced WordPress Hooks
Next Post: Conditionally Instantiating Classes in WordPress »

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Subscribe to jeremypry.com

Enter your email address to subscribe to this site and receive notifications of new posts by email.

  • Home
  • Blog
  • Code
  • Ideas
  • Tutorial
  • Gifts
  • Privacy Policy

Copyright © 2021 · JPry Showcase Pro on Genesis Framework · WordPress · Log in