add git-ssh-allowed-signers
authorJacob Lifshay <programmerjake@gmail.com>
Tue, 31 Jan 2023 06:00:54 +0000 (22:00 -0800)
committerJacob Lifshay <programmerjake@gmail.com>
Tue, 31 Jan 2023 06:00:54 +0000 (22:00 -0800)
git-ssh-allowed-signers [new file with mode: 0644]

diff --git a/git-ssh-allowed-signers b/git-ssh-allowed-signers
new file mode 100644 (file)
index 0000000..3b12624
--- /dev/null
@@ -0,0 +1,14 @@
+# list of allowed signers for use with signing git commits using ssh keys.
+# links explaining how to set it up (GitLab *not* necessary to use):
+# https://docs.gitlab.com/ee/user/project/repository/ssh_signed_commits/#configure-git-to-sign-commits-with-your-ssh-key
+# https://docs.gitlab.com/ee/user/project/repository/ssh_signed_commits/#verify-commits-locally
+#
+# add to your git config, replacing the path with the path to this file:
+# git config gpg.ssh.allowedSignersFile "$(realpath ../path/to/utils.git/git-ssh-allowed-signers)"
+#
+# file format:
+# https://man7.org/linux/man-pages/man1/ssh-keygen.1.html#ALLOWED_SIGNERS
+#
+# add your ssh public keys one per line, don't forget namespaces="git"
+#
+programmerjake@gmail.com namespaces="git" ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6PKJf11y3Zy092zLoJ4g0WVTQ8/e4cPki0XN8+iDwlaVL9klb3sB9PZYakD4AZyPQ5MxWVt1QnR2qXgnQ4laGlyw5ho1BM7zBpbUD08aCfTiBO1Fms52ci3+2sTDkStHJ62PaPa4IuezTBoHkR1M1FUVcOUWAAIpH7BHoP4Ayb0uUgAf8AxZtOcEZa+w0EwDOB0DRPFYWE2vu2q/aJHLvQHwGikeg5bi+o0odam+lkg0ShedBzSWqBP/Mxn65p+xQ2q0FViRZWBpyOhEN4hi2kF/2L/yinbQVuhIU5C1VVb5cjqClD0YA+Ln/DPhXcvw2hzSKxZKlDHKa7Gv3os/H jacob@jacob-desktop