From 25049b80c1d7650f932321f948b36e1198b9f95d Mon Sep 17 00:00:00 2001 From: Georgi Dimitrov Date: Mon, 4 Dec 2023 11:25:26 +0000 Subject: [PATCH] git: enable commit signing --- git/gitconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/git/gitconfig b/git/gitconfig index f8b246fa..332fe1c3 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -2,6 +2,7 @@ [user] name = Georgi Dimitrov email = georgijd92@gmail.com + signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINPuu8tIzBl3Dmxjr5pSSSn+v573UenWvMgyPWcYwjWZ [core] editor = nvim mergeoptions = --no-edit @@ -9,6 +10,11 @@ pager = less -F -X [commit] template = ~/dotfiles/git/commit-template + gpgsign = true +[gpg] + format = ssh +[gpg "ssh"] + program = "/opt/1Password/op-ssh-sign" [push] default = simple autoSetupRemote = true