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

Re: libcurl dependency for implementing RFC3161 timestamps

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 9, 2016, 18:53 UTC
Message-ID
<xmqq7fhbiitc.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<59de05c280143e7dd3ead6139df7a525.squirrel@faumail.uni-erlangen.de>
"Anton Wuerfel" <anton.wuerfel@fau.de> writes:
Show 12 quoted lines
> Is there any best-practice how to introduce this libcurl dependency? There
> are several options:
>
> -As git tag is a builtin part of the main git executable, introduce a
> libcurl dependency for the main executable (maybe not best-practice).
>
> -Move git tag to a separate git-tag binary and introduce a libcurl
> dependency to this new submodule.
>
> -Create an own submodule like git-http-timestamp with a libcurl dependency
> and call it from git tag and from other places where timestamp signatures
> are needed.

If this were to become part of the official Git distribution, I think the last one would be the most realistic approach.

In fact, just like the way that Git does not care how GPG implements its crypto, manages the chain of trust, and any other details, I think the best way to integrate it would be to write your own RFC3161 program that can be invoked just like we invoke GPG, and drive it via an interface like we drive GPG via gpg-interface.[ch], since Git shouldn't even care where your timestamp is coming from and over what transport.

Previous: Randall S. Becker
Message 4 of 4 in “libcurl dependency for implementing RFC3161 timestamps”
  1. Anton WuerfelMar 9, 2016
  2. Duy NguyenMar 9, 2016
  3. Randall S. BeckerMar 9, 2016
  4. Junio C HamanoMar 9, 2016

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.