Source: cloudwithchris.medium.com

Using GPG Keys to sign Git Commits — Part 2

Category: Software, github, shell

Hopefully by now you’ve had a chance to read part 1 of this series, which explains why yo u may be interested in using GPG keys to sign your commits.

In part two, we’re going to focus on how I worked through setting up GPG in my Windows environment, and generating a set of keys for use.

In this post, I am making an assumption that you are brand new to using GPG Keys and do not yet have a master key, or any other keys in place.

In this post, we’ll complete the next step as Alice (alice@contoso.com), as she was the one who was spoofed in our prior blog post’s example.

You’ll need to replace the key id in the first line below with the key ID that you generated in the previous step (and all relevant future steps).

Related Articles