Hi Windows users,
I can now sign my commits on Github using Git 2.18.0 and Github Desktop 1.6.1.
Here is what I have done:
- generate a GPG key and add it to Github: https://help.github.com/articles/generating-a-new-gpg-key
- configure the Git
.gitconfigfile properly:
[user]
name = Jens Forstmann
email = 19289807+JensForstmann@users.noreply.github.com
signingkey = C43831562AA73BB1
[gpg]
program = "C:\\Program Files\\Git\\usr\\bin\\gpg.exe"
[commit]
gpgsign = true
[tag]
gpgsign = true
this file is located in the
%USERPROFILE%directory, ie:C:\Users\Jens\.gitconfig
YOUR_SIGNING_KEY should follow the GPG key ID convention, like this example: https://help.github.com/articles/telling-git-about-your-signing-key
After a git commit yout can verify the signing with git log --show-signature.
That's all folks! 🎉
Thanks a loot