GPG Keys
GPG Keys are keys that are used to sign commits made on your machine as an additional form of security.
While these are not needed for most projects it is good practice to learn how to make these keys and how to handle signing commits since some companies in the industry require this.
Checking for existing GPG keys
If you have already made a GPG key in the past follow one of the links below to find it on your machine based on the OS you are using:
- Mac: Github Docs For Checking Existing GPG Keys (Mac)
- Windows: Github Docs For Checking Existing GPG Keys (Mac)
- Linux: Github Docs For Checking Existing GPG Keys (Mac)
Creating a new GPG key
If you do not already have a GPG key made then follow one of the links below on how to best create a new GPG key for signing commits with Git based on the OS you are using:
- Mac: Github Docs For Creating GPG Keys (Mac)
- Windows: Github Docs For Creating GPG Keys (Mac)
- Linux: Github Docs For Creating GPG Keys (Mac)
Adding a new GPG key to Github
Once you have access to a GPG key owned by you then you can follow one of the links below on how to add it to your github account:
Using the key
Once you have a key to use for signing then you can sign commits by following the steps outlined in the link below: