You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit adds support for commit signing using GPG and SSH keys in GitKraken Client. It includes the following changes:
- Updated the title and description of the "Commit Signing" section to reflect both GPG and SSH key options.
- Added a new section on "Commit Signing with SSH" that explains how to generate an SSH key, configure git to sign commits with SSH, create an allowed_signers file, enable commit signing by default in GitKraken, and add the SSH key to remote hosting services.
- Included new images for generating an SSH key and selecting a git executable.
Please note that Bitbucket.org does not support commit signing verification.
Copy file name to clipboardExpand all lines: gitkraken-client/commit-signing-with-gpg.md
+60-11Lines changed: 60 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,21 @@
1
1
---
2
2
3
-
title: Commit Signing with gpg
4
-
description: Learn how to create GPG keys and sign your commits in GitKraken Client
3
+
title: Commit Signing
4
+
description: Learn how to sign your commits in GitKraken Client
5
5
taxonomy:
6
6
category: gitkraken-client
7
7
8
8
---
9
9
10
10
##What is Commit Signing?
11
11
12
-
In Git, you may commit using any name and email address. However, Git supports signing commits and annotated tags using a GPG key pair.
12
+
In Git, you may commit using any name and email address. However, Git supports signing commits and annotated tags using a GPG or SSH key pair.
13
13
14
14
By signing a commit, other users with your public key can verify the commit was created by the owner of that key. Users can also share their public key with their remote hosting service, such as GitHub, so that commits appear as verified on their website.
15
15
16
-
###Commit Signing Requirements
16
+
###Commit Signing with GPG
17
+
18
+
####Requirements
17
19
18
20
Before you start signing your commits, you will first need to install and configure GPG. Our recommendations to get GPG installed quickly are below.
19
21
@@ -44,7 +46,7 @@ Once you have installed GPG to your machine, you can verify it is installed and
Once you have GPG installed on your machine, you will need to configure GitKraken to use GPG. Launch GitKraken Client and navigate to Preferences → GPG Preferences.
61
63
@@ -77,7 +79,7 @@ Once you have GPG installed on your machine, you will need to configure GitKrake
77
79
78
80
+**Generate new GPG Key:** GitKraken Client will generate a new GPG key for you, see [Generating a GPG Key In GitKraken](/git-workflows-and-extensions/commit-signing-with-gpg/#generating-a-gpg-key-in-gitkraken).
79
81
80
-
###Verifying a Local Commit is Signed
82
+
####Verifying a Local Commit is Signed
81
83
82
84
You can verify a commit has been signed by selecting a commit and viewing the commit panel. An icon will appear to the left of the commit SHA on signed commits only.
83
85
@@ -97,17 +99,17 @@ Below is a list of possible signature codes and what they mean:
97
99
+`ERRSIG` -- It was not possible to check the signature. This may be caused by a missing public key or an unsupported algorithm.
98
100
99
101
100
-
###Uploading Your GPG Key to a Remote Hosting Service
102
+
####Uploading Your GPG Key to a Remote Hosting Service
101
103
102
104
To upload your GPG public key to your remote hosting service, we recommend viewing the documentation for the respective hosting service:
* <emclass='context-menu'><iclass="fab fa-bitbucket"aria-hidden="true"></i></em> Only Bitbucket Server[Bitbucket](https://confluence.atlassian.com/bitbucketserver/using-gpg-keys-913477014.html#UsingGPGkeys-AddaGPGkeytoBitbucketServer)
107
109
108
110
To copy your GPG public key in GitKraken Client, navigate to Preferences → GPG Preferences and below your Signing Key, select `Copy GPG Public Key`.
109
111
110
-
###Editing Your GPG Key
112
+
####Editing Your GPG Key
111
113
112
114
Editing your gpg key is helpful when you wish to add another email address to a key or renew an expired key. To edit a GPG key, navigate to your terminal and enter `gpg --list-secret-keys --keyid-format LONG`. This command will output a list of your GPG keys, take note of the ID of the key you wish to edit.
113
115
@@ -128,11 +130,58 @@ For a complete list you can review [GNU’s documentation](https://www.gnupg.org
128
130
129
131
Make sure to upload the updated key on your hosting service once you have saved. See [Uploading Your GPG Key to a Remote Hosting Service](/git-workflows-and-extensions/commit-signing-with-gpg/#uploading-your-gpg-key-to-a-remote-hosting-service).
130
132
131
-
###Deleting your GPG Key
133
+
####Deleting your GPG Key
132
134
133
135
You can delete your key via terminal with the command `gpg --delete-secret-keys` simply append your username or key ID.
0 commit comments