Skip to content
Free since 2015. Built for the engineers who keep things running.

cat /articles/using-gpg-keys-to-sign-git-commits-part-3.md

CI/CD

Using GPG Keys to sign Git Commits — Part 3

This post was originally published on Wed, Mar 10, 2021 at cloudwithchris.com. Okay, part 3! At this point, I’m assuming that you have already familiarised yourself with part 1 and part 2 of the series. As a quick recap, part 1 focused on why we would consider using GPG Keys in general.

cloudwithchris.medium.com06 May 2021 · summary

article --summary

The summary

As a quick recap, part 1 focused on why we would consider using GPG Keys in general. This post (part 3) focuses on using those keys as part of our usual development workflow using Git. For these next steps to work, you will need to make sure that one of the e-mail addresses used in the GPG Key is also associated with your GitHub account. When adding the GPG Key information to GitHub, make sure that you add the Public Key component and not the Private Key! Assuming that the Public Key in the GPG Keys section of your GitHub account corresponds with the Private Key used to sign the commits, then you will notice that commits will be marked as verified in the GitHub user interface.

Editorial note: This is a summary of an article first published by cloudwithchris.medium.com. The full piece is on their site.

articles --latest

Latest articles

New from the blogs we follow and the community.

All articles

newsletter --weekly

DevOps Weekly, minus the noise.

The best reads, new jobs and upcoming events, in one email a week.