Re: GPG signing for git commit?
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- May 10, 2009, 22:53 UTC
- Message-ID
- <fcaeb9bf0905101553p56f5e8b2o6e6b550e9494b726@mail.gmail.com>
- In-Reply-To
- <robbat2.20090508T190254.538956494Z@orbis-terrarum.net>
On Sat, May 9, 2009 at 5:03 AM, Robin H. Johnson <robbat2@gentoo.org> wrote:
Show 8 quoted lines
>> How about signing the tree SHA-1 and putting the signature in commit >> message? It's like gpg way of saying Signed-off-by. If the committer >> wants to sign again before pushing out, he could amend the commit, >> append his signature there; or make a no-change commit to contain his >> signature (probably from git-commit-tree because iirc git-commit won't >> let you make no-change commit) > Hmm, I like the sound of that, but I'm concerned it might be difficult > to enforce. If rewrite-history ever happens, it's also invalidated.
Well if you rewrite and touch the trees, then every signature should be invalidated anyway. If you only touch commit message, it should remain valid because I only sign trees.
-- Duy