Enable gpg git signing

This commit is contained in:
GHOSCHT 2023-12-04 12:03:29 +01:00
parent 217026d0a4
commit c04240b646
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -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";
};
};