@@ -144,7 +144,10 @@ There will be several prompts to make sure that you *really* want to delete your
144
144
145
145
###Commit Signing with SSH
146
146
147
- SSH signature verification is available in Gitkraken 9.6.0 as Experimental feature
147
+ Commit Signing with SSH is available in Gitkraken Client through Git Executable feature.
148
+
149
+ <img src =" /wp-content/uploads/gkc-gpg-ssh-preferences.png " class =" img-bordered img-responsive center " >
150
+
148
151
149
152
####Requirements
150
153
@@ -161,25 +164,35 @@ Open a Terminal and run this command:
161
164
162
165
<
img src =
" /wp-content/uploads/gkc-ssh-keygen.png " srcset =
" /wp-content/uploads/[email protected] 2x " class =
" img-bordered img-responsive center " >
163
166
164
- ####Configure git to sign commits with SSH
165
167
166
- Run this command to use SSH for signing commits and pointing to the key previously created:
167
- ` git config --global gpg.format sshgit config --global user.signingkey /PATH/TO/.SSH/KEY.PUB `
168
+ ####Enable Git Executable feature
168
169
169
- ####Create allowed_signers file
170
+ Go to <kbd >Preferences > Experimental > Git Executable</kbd > and enable it.
171
+
172
+ <
img src =
" /wp-content/uploads/gkc-git-executable.png " srcset =
" /wp-content/uploads/[email protected] 2x " class =
" img-bordered img-responsive center " >
173
+
174
+ ####Select SSH as your GPG format for signing
175
+
176
+ At <kbd >Preferences > GPG > GPG Format</kbd >, select <kbd >SSH</kbd >.
170
177
178
+ Automatically Gitkraken client will change your preferences in ` .gitconfig ` and populate GPG SSH Program with ssh-keygen
179
+
180
+ ####Select the signing key
181
+
182
+ On <kbd >Signing key</kbd >, click on <kbd >Browse</kbd > and select the ` .pub ` key file previously generated.
183
+
184
+ ####Create allowed_signers file
171
185
This file is needed to verify the key used to sign the commits is valid and known by git
186
+
187
+ On your terminal, run:
172
188
```
173
189
touch ~/.ssh/allowed_signers
174
- git config gpg.ssh.allowedSignersFile ~/.ssh/allowed_signers
175
- echo "$(git config --get user.email) namespaces=\"git\" $(cat ~/.ssh/<MY_KEY>.pub)" >> ~/.ssh/allowed_signers
176
190
```
191
+ And select the file in Gitkraken client.
177
192
178
193
####Enable Commit Signing by Default in Gitkraken:
179
194
180
- Preferences > GPG > Sign Commits/Tags By defaultPreferences > Experimental > Use Git Executable and select a git executable 2.34 or later
181
-
182
- <
img src =
" /wp-content/uploads/gkc-git-executable.png " srcset =
" /wp-content/uploads/[email protected] 2x " class =
" img-bordered img-responsive center " >
195
+ Preferences > GPG > Sign Commits/Tags By default
183
196
184
197
####Add the SSH key to your remote hosting
185
198
0 commit comments