Skip to content

Commit d77b0e3

Browse files
Add links to git-scm docs and how to add the key to allowed signers file
1 parent 4a608a2 commit d77b0e3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

gitkraken-client/commit-signing-with-gpg.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,20 +173,27 @@ Go to <kbd>Preferences > Experimental > Git Executable</kbd> and enable it.
173173

174174
####Select SSH as your GPG format for signing
175175

176+
[Which program to select](https://git-scm.com/docs/git-config#Documentation/git-config.txt-gpgltformatgtprogram)
177+
176178
At <kbd>Preferences > GPG > GPG Format</kbd>, select <kbd>SSH</kbd>.
177179

178180
Automatically Gitkraken client will change your preferences in `.gitconfig` and populate GPG SSH Program with ssh-keygen
179181

180182
####Select the signing key
181183

184+
[How to select SSH signing key](https://git-scm.com/docs/git-config#Documentation/git-config.txt-usersigningKey)
185+
182186
On <kbd>Signing key</kbd>, click on <kbd>Browse</kbd> and select the `.pub` key file previously generated.
183187

184188
####Create allowed_signers file
185-
This file is needed to verify the key used to sign the commits is valid and known by git
189+
This file is needed to verify the key used to sign the commits is valid and known by git.
190+
[Allowed Signers file help](https://git-scm.com/docs/git-config#Documentation/git-config.txt-gpgsshallowedSignersFile)
186191

187192
On your terminal, run:
188193
```
189194
touch ~/.ssh/allowed_signers
195+
echo "$(git config --get user.email) namespaces=\"git\" $(cat ~/.ssh/<MY_KEY>.pub)" >> ~/.ssh/allowed_signers
196+
190197
```
191198
And select the file in Gitkraken client.
192199

0 commit comments

Comments
 (0)