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

[PATCH 00/10] Adding RFC3161 time-stamps to tags

From
AWAnton Wuerfel <anton.wuerfel@fau.de>
Date
Mar 17, 2016, 18:46 UTC
Message-ID
<1458240421-3593-1-git-send-email-anton.wuerfel@fau.de>
Hi all,

this patch series adds RFC3161 time-stamping functionality to git tags. This enables users to create and verify cryptographic time stamp signatures to prove that a commit existed at a certain point in time.

The new RFC3161 time-stamping functionality is independent from GPG signatures. However, GPG signatures include time-stamp signatures and therefore make them robust against removal or replacement.

The time stamp signature is stored in the git tag object header under the `timesig` key, which is equivalent to the format for GPG signatures in signed commits. This facilitates a possible implementation of time-stamped commits in the future.

We added two new helper commands, because of their dependencies on libcurl and libcrypto respectively. If one of the libraries is missing, a warning message is given when one of the new functionalities is used.

We tried to add as much documentation as possible. Especially timestamp-util.c, which depends on libcrypto, is a bit tough to read.

Some configuration variables have been added, where `ts.tsaurl` is the most important, which specifies the Time Stamping Autority to use.

For testing the implemented functionality, the Time Stamping Authority SafeCreative can be used, which is free for non-commercial use: https://tsa.safecreative.org. Simply set the config variable ts.tsaurl to this TSA.

Your feedback is welcome. Kind regards, Anton Wuerfel Phillip Raffeck

Anton Wuerfel (10):
Phillip Raffeck (10):
  Add Testcases for time-stamping functionality
  Documentation for time-stamping functionality
  Documentation: Whitespace fix
  Extending internal CURL wrapper for POST upload
  Make PGP macros global
  Add basic RFC3161 functionality
  Add git-http-timestamp helper tool
  Adding time-stamping helper tool
  Add time-stamping functionality to git verify-tag
  Add time-stamping functionality to git tag
 .gitignore                           |   2 +
 Documentation/config.txt             |  20 ++
 Documentation/git-http-timestamp.txt |  32 ++
 Documentation/git-tag.txt            |  32 +-
 Documentation/git-timestamp-util.txt |  52 +++
 Documentation/git-tsa-store.txt      |  68 ++++
 Documentation/git-verify-tag.txt     |  28 +-
 Makefile                             |  15 +
 builtin/tag.c                        |  55 +++-
 builtin/verify-tag.c                 |  61 +++-
 command-list.txt                     |   2 +
 gpg-interface.c                      |   3 -
 gpg-interface.h                      |   3 +
 http-timestamp.c                     |  76 +++++
 http.c                               |  30 +-
 http.h                               |  17 +-
 remote-curl.c                        |   2 +-
 rfc3161.c                            | 219 +++++++++++++
 rfc3161.h                            |  12 +
 t/t7031-verify-tag.sh                |  69 ++++
 timestamp-util.c                     | 615 +++++++++++++++++++++++++++++++++++
 21 files changed, 1380 insertions(+), 33 deletions(-)
 create mode 100644 Documentation/git-http-timestamp.txt
 create mode 100644 Documentation/git-timestamp-util.txt
 create mode 100644 Documentation/git-tsa-store.txt
 create mode 100644 http-timestamp.c
 create mode 100644 rfc3161.c
 create mode 100644 rfc3161.h
 create mode 100755 t/t7031-verify-tag.sh
 create mode 100644 timestamp-util.c
-- 
2.8.0.rc0.62.gfc8aefa.dirty
Next: Anton Wuerfel
Message 1 of 11 in “Adding RFC3161 time-stamps to tags”
  1. 00/10 Adding RFC3161 time-stamps to tagsAnton Wuerfel, Mar 17, 2016
  2. 01/10 Add Testcases for time-stamping functionalityAnton Wuerfel, Mar 17, 2016
  3. 02/10 Documentation for time-stamping functionalityAnton Wuerfel, Mar 17, 2016
  4. 03/10 Documentation: Whitespace fixAnton Wuerfel, Mar 17, 2016
  5. 04/10 Extending internal CURL wrapper for POST uploadAnton Wuerfel, Mar 17, 2016
  6. 05/10 Make PGP macros globalAnton Wuerfel, Mar 17, 2016
  7. 06/10 Add basic RFC3161 functionalityAnton Wuerfel, Mar 17, 2016
  8. 07/10 Add git-http-timestamp helper toolAnton Wuerfel, Mar 17, 2016
  9. 08/10 Adding time-stamping helper toolAnton Wuerfel, Mar 17, 2016
  10. 09/10 Add time-stamping functionality to git verify-tagAnton Wuerfel, Mar 17, 2016
  11. 10/10 Add time-stamping functionality to git tagAnton Wuerfel, Mar 17, 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.