git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Author signature

From
Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Date
May 14, 2024, 20:03 UTC
Message-ID
<20240514-lively-potoo-of-sorcery-0028de@lemur>
In-Reply-To
<ZkPA2Pmz2EB6SOzL@tapette.crustytoothpaste.net>
On Tue, May 14, 2024 at 07:51:52PM GMT, brian m. carlson wrote:
Show 13 quoted lines
> > So… I was wondering: since we can only sign commits, is there any
> > way / work in progress to attach the author signature to a commit? To
> > me, it would make sense to have something hierarchical: the comitter
> > simply signs above what the author signed, and the author doesn’t sign
> > the whole commit (I guess?), since we want to be able to change the
> > commit hash.
> 
> This is a great question.  I have seen previous requests for author and
> committer signatures, or in general, multiple signatures (such as with
> co-authors).  Git has only one signature field (well, two if you could
> the one for the SHA-1 encoding and the SHA-256 encoding), but OpenPGP
> does allow multiple signatures to be embedded in one ASCII-armored 
> blob.

It's worth noting the gittuf work that was recently profiled on LWN [1]. It does already integrate the concept of multiple signatures via in-toto attestations [2].

I feel like it's a better approach than overloading the currently implemented signature support.

-K

[1]: https://lwn.net/Articles/973217/ [2]: https://github.com/gittuf/gittuf/blob/main/docs/design-document.md#attestations

Previous: brian m. carlsonNext: Konstantin Ryabitsev
Message 3 of 6 in “Author signature”
  1. Dimitri SabadieMay 14, 2024
  2. brian m. carlsonMay 14, 2024
  3. Konstantin RyabitsevMay 14, 2024
  4. Konstantin RyabitsevMay 14, 2024
  5. Dimitri SabadieJun 4, 2024
  6. Konstantin RyabitsevJun 4, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.