Thread (1 message) 1 message, 1 author, 2016-06-15

Re: libcurl dependency for implementing RFC3161 timestamps

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:08:41

"Anton Wuerfel" [off-list ref] writes:
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help