~fkooman/www.tuxed.net

ref: e107b46712f6bd52301961e3a47580b0a8cbb0e6 www.tuxed.net/posts/git_sign.md -rw-r--r-- 526 bytes
e107b467François Kooman add php-jwt 3 years ago

#title: Signing Git Commits published: 2018-05-11 modified: 2018-06-18

What a mess! This is my $HOME/.gitconfig that seems to make everything work. As my keyring only works with gpg2 and not with gpg you also have to set gpg.program.

[user]
	email = fkooman@tuxed.net
	name = François Kooman
	signingKey = 6237BAF1418A907DAA98EAA79C5EDD645A571EB2
[commit]
	gpgSign = true
[gpg]
	program = /usr/bin/gpg2
[tar "tar.xz"]
        command = xz -c

UPDATE (2018-06-18): add the tar "tar.xz" section.