Specify GitLab as Committer for commits created by Gitaly
Overview
Related issue: Specify GitLab as a Committer for commits creat... (#5715 - closed)
When signing-web-commits is enabled, commits created by GitLab/Gitaly cannot be verified because Committer
or the commit equals Author
of the commit. The signature of the commits is created using the key that belongs to GitLab, i.e belongs neither to Commiter nor the Author. In this case, a user cannot follow the documentation: https://docs.gitlab.com/ee/user/project/repository/signed_commits/ssh.html#verify-commits-locally and specify the correct ~/.ssh/allowed_signers
.
This merge request changes the commits' Committer to GitLab <noreply@gitlab.com>
Screenshots
The changes are not reflected on UI:
While the key can be added to allowed_signers
now g log --show-signature
:
Committer is different: