Skip to content

localrepo: Enable WriteCommit to sign commits

John Cai requested to merge jc/add-signing-to-commit into master

Enable WriteCommit to sign commits if a signing key path is provided. !5906 (merged) added gitaly-gpg, a binary that can serve as a drop in replacement for gpg that provides a signature based on a path rather than a key_id. This MR uses that binary and sets gpg.program to the path of the binary to use it to sign commits. See the git documentation here: https://git-scm.com/docs/git-config#Documentation/git-config.txt-gpgprogram

part of: #5335 (closed)

Edited by John Cai

Merge request reports