Enable gpg git signing
This commit is contained in:
parent
217026d0a4
commit
c04240b646
1 changed files with 5 additions and 4 deletions
|
@ -18,10 +18,11 @@
|
|||
|
||||
extraConfig = {
|
||||
# Sign all commits using ssh key
|
||||
commit.gpgsign = false;
|
||||
gpg.format = "ssh";
|
||||
gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers";
|
||||
user.signingkey = "~/.ssh/git.pub";
|
||||
commit.gpgsign = true;
|
||||
user.signingkey = "0x2C2C1C62A5388E82";
|
||||
# gpg.format = "ssh";
|
||||
# gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers";
|
||||
# user.signingkey = "~/.ssh/git.pub";
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue