README.md: add two example git commands regarding sigs

This commit is contained in:
Aminda Suomalainen ⚧ 2022-01-10 22:28:45 +02:00
parent 8a6cf317ff
commit cfb97ea53a
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ git clone https://gitea.blesmrt.net/Mikaela/ssh-allowed_signers.git
git config --global gpg.ssh.allowedSignersFile ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers/allowed_signers git config --global gpg.ssh.allowedSignersFile ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers/allowed_signers
``` ```
Git commands should now recognised commits signed with keys I have allowed. Git commands, such as `git verify-commit --raw HEAD` or `git log --show-signature`,
should now recognised commits signed with keys I have allowed.
In the last command it's fine to remove `--global` to only affect the single In the last command it's fine to remove `--global` to only affect the single
repository you are on (while I haven't tested this), should that repository repository you are on (while I haven't tested this), should that repository
be something only I am signing in or something I need to verify otherwise be something only I am signing in or something I need to verify otherwise