summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2025-12-28 11:05:29 -0600
committerBrad Clawsie <brad@b7j0c.org>2025-12-28 11:05:29 -0600
commite98d60edebc988337e751e4f348381706658a0e8 (patch)
tree21506fd9d47266e21119957c1cd6e69555fc8683
parent28710e7a9f50a37c75f962c2fdb31d56b1b42dc8 (diff)
proper ssh signing support
-rw-r--r--git/dotgitconfig9
-rw-r--r--ssh/allowed_signers1
-rw-r--r--ssh/config (renamed from ssh/dotsshconfig)0
3 files changed, 8 insertions, 2 deletions
diff --git a/git/dotgitconfig b/git/dotgitconfig
index d786d89..45b6318 100644
--- a/git/dotgitconfig
+++ b/git/dotgitconfig
@@ -16,7 +16,7 @@
[user]
name = Brad Clawsie
email = brad@b7j0c.org
- signingkey = /home/brad/.ssh/id_ed25519.pub
+ signingkey = ~/.ssh/id_ed25519.pub
[pull]
ff = only
@@ -25,7 +25,7 @@
defaultBranch = master
[commit]
- gpgsign = true
+ gpgsign = true
[alias]
st = status -sb
@@ -34,5 +34,10 @@
[tig]
main-view-date-display = no
+[tig "bind"]
+ status = C !git commit -S
+
[gpg]
format = ssh
+[gpg "ssh"]
+ allowedSignersFile = ~/.ssh/allowed_signers
diff --git a/ssh/allowed_signers b/ssh/allowed_signers
new file mode 100644
index 0000000..f894305
--- /dev/null
+++ b/ssh/allowed_signers
@@ -0,0 +1 @@
+brad@b7j0c.org namespaces="git" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA7Mqsz1cskf1YRWaMiZUZ8226xWjyXSrFVJPREXsX70 brad@b7j0c.org
diff --git a/ssh/dotsshconfig b/ssh/config
index 3e6b9b2..3e6b9b2 100644
--- a/ssh/dotsshconfig
+++ b/ssh/config