Skip to content

Specify GitLab as Committer for commits created by Gitaly

Igor Drozdov requested to merge id-change-committer-of-gitaly-commits into master

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:

Screenshot_2023-11-30_at_11.46.00

While the key can be added to allowed_signers now g log --show-signature:

Screenshot_2023-11-30_at_11.46.41

Committer is different:

Screenshot_2023-11-30_at_11.47.46

Merge request reports