Benjamin-Loison / opentimestamps-client

OpenTimestamps client
Other
0 stars 0 forks source link

Use Git wrapper #10

Open Benjamin-Loison opened 1 month ago

Benjamin-Loison commented 1 month ago

Would be nice to be independent from calendar servers but committing to blockchains take time while git commit is instantaneous, so how to solve this issue?

blob/185a5997cf315402747223a1feae18e669ae08f2/doc/git-integration.md?plain=1#L192-L194

blob/185a5997cf315402747223a1feae18e669ae08f2/doc/git-integration.md blob/185a5997cf315402747223a1feae18e669ae08f2/otsclient/git_gpg_wrapper.py

Can it be used without the GPG aspect just to timestamp commits? I am fine with having to use a specific git binary for compatibility, as it seems to need to (see opentimestamps-client/blob/185a5997cf315402747223a1feae18e669ae08f2/doc/git-integration.md?plain=1#L76-L80). As #14 shows, it seems quite clear that no signature is not supported too.

It seems that cannot git commit without access to calendar servers, i.e. Internet access.

Related to #1, #2, #13 and Verified_repositories/issues/3.

Tracked at Benjamin_Loison/git/issues/49.

Benjamin-Loison commented 1 month ago

I tested and the GPG wrapper seems to work fine, but only for GPG signatures, see #14.

Benjamin-Loison commented 2 weeks ago

Related to #16.