git: sign using ssh key, add public key for osiris
This commit is contained in:
parent
81fa7dc931
commit
a6123fdf6b
2 changed files with 10 additions and 0 deletions
1
.config/git/allowed_signers
Normal file
1
.config/git/allowed_signers
Normal file
|
@ -0,0 +1 @@
|
||||||
|
fanyx@posteo.net namespaces="git" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIED2cYmICgFveAdDIK1Ag/k5Rd+xtGRX7vTnCaDXiU75
|
|
@ -1,6 +1,12 @@
|
||||||
[user]
|
[user]
|
||||||
email = fanyx@posteo.net
|
email = fanyx@posteo.net
|
||||||
name = fanyx
|
name = fanyx
|
||||||
|
signingkey = ~/.ssh/id_ed25519.pub
|
||||||
|
|
||||||
|
[gpg]
|
||||||
|
format = ssh
|
||||||
|
[gpg.ssh]
|
||||||
|
allowedSignersFile = ~/.config/git/allowed_signers
|
||||||
|
|
||||||
[includeIf "gitdir:~/b1/"]
|
[includeIf "gitdir:~/b1/"]
|
||||||
path = ~/b1/.config/git/config
|
path = ~/b1/.config/git/config
|
||||||
|
@ -46,6 +52,9 @@
|
||||||
[branch]
|
[branch]
|
||||||
sort = -committerdate
|
sort = -committerdate
|
||||||
|
|
||||||
|
[commit]
|
||||||
|
gpgsign = true
|
||||||
|
|
||||||
[rebase]
|
[rebase]
|
||||||
autosquash = true
|
autosquash = true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue