From 71eeeb00ac88cdf928ab5091606bb8984d98e6d3 Mon Sep 17 00:00:00 2001 From: Michael Bradley Date: Wed, 1 Jan 2025 12:08:35 +1300 Subject: [PATCH] Go back to SSH commit signing --- git/config | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/git/config b/git/config index d23fc1f..5e38320 100755 --- a/git/config +++ b/git/config @@ -1,5 +1,7 @@ [user] name = Michael Bradley + email = michaelmbrad@gmail.com + signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAVoIshBPg9X4mVzqEx75qXJiVoNC9mbj0bOAMq5ZUIw [core] editor = lvim @@ -13,12 +15,12 @@ [commit] gpgsign = true -[includeIf "gitdir:~/dev/"] - path = ./config-personal -[includeIf "gitdir:~/school/"] - path = ./config-personal -[includeIf "gitdir:~/Documents/"] - path = ./config-personal +[gpg] + format = ssh + +[gpg "ssh"] + program = /opt/1Password/op-ssh-sign + allowedSignersFile = ~/.ssh/allowed_signers [credential "https://github.com"] helper = !/usr/bin/gh auth git-credential