aboutsummaryrefslogtreecommitdiffstats
path: root/posts/git_sign.md
blob: 0a164d71b62e304785dc5da633652594e7f76260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
title: Signing Git Commits
published: 2018-05-11
---

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
```