git/etc/gitconfig: "document" accepting signed pushes

Resolves: #32
This commit is contained in:
Aminda Suomalainen 2022-05-26 12:31:21 +03:00
parent c0affcb03f
commit c846c48412
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 11 additions and 0 deletions

8
git/etc/README.md Normal file
View File

@ -0,0 +1,8 @@
This `/etc/gitconfig` currently just "documents" how to enable signed git
pushes, however it requires a recent git version on the server too to allow
SSH.
Client-side: `git config --global push.gpgSign if-asked` (to not die when
server doesn't support it)
Source: https://people.kernel.org/monsieuricon/signed-git-pushes via https://github.com/go-gitea/gitea/issues/13454

3
git/etc/gitconfig Normal file
View File

@ -0,0 +1,3 @@
[receive]
advertisePushOptions = true
certNonceSeed = "<uniquerandomstring>"