git: use ssh commit signing
This commit is contained in:
parent
348a87f049
commit
6bc7f9e742
2 changed files with 11 additions and 1 deletions
3
.config/git/allowed_signers
Normal file
3
.config/git/allowed_signers
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
dln@arity.se sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIFtd5SEEgKWzR6617GqxhSIi//4Afq7iRP0ny6fbwU7kAAAABHNzaDo=
|
||||||
|
daniel@arity.se sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIFtd5SEEgKWzR6617GqxhSIi//4Afq7iRP0ny6fbwU7kAAAABHNzaDo=
|
||||||
|
dln@shelman.io sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIFtd5SEEgKWzR6617GqxhSIi//4Afq7iRP0ny6fbwU7kAAAABHNzaDo=
|
|
@ -10,6 +10,7 @@ compression = 3
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
useConfigOnly = true
|
useConfigOnly = true
|
||||||
|
signingKey = key::sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIFtd5SEEgKWzR6617GqxhSIi//4Afq7iRP0ny6fbwU7kAAAABHNzaDo=
|
||||||
|
|
||||||
[column]
|
[column]
|
||||||
ui = auto
|
ui = auto
|
||||||
|
@ -126,7 +127,13 @@ diffFilter = delta --color-only --features=interactive
|
||||||
helper = store
|
helper = store
|
||||||
|
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = false
|
gpgsign = true
|
||||||
|
|
||||||
|
[gpg]
|
||||||
|
format = ssh
|
||||||
|
|
||||||
|
[gpg "ssh"]
|
||||||
|
allowedSignersFile = ~/.config/git/allowed_signers
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
name = Daniel Lundin
|
name = Daniel Lundin
|
||||||
|
|
Loading…
Reference in a new issue