Commit Graph

8 Commits

Author SHA1 Message Date
Matthias Bühlmann
83c16a2f77 Changed validate.sh to only trust latest timestamp commit version
added arguments to validate.sh
--verbose to generate verbose output
--minversion to specify minimum timestamp commit version to be trust
2021-02-21 19:19:27 +01:00
Matthias Bühlmann
80034aeb78 Changed digest that is being timestamped
Changed digest that is being stamped from $parent_commit_hash, to
shaX(parent:$parent_commit_hash,tree:$tree_hash)
where shaX is the hash function used by the repository.
This change is so that the timestamp added also timestamps the
LTV data that is being added with the timestamp commit.

This LTV data now also contains CRLs for the LAST timestamp commit.
This ensures that timestamp lifetime of old timestamps gets
arbitrarily extended into the future with every new timestamp
added to the repository.

Further changes:
-Updated documentation
-updated schematics and changed from SVG to PNG
-added assertions, pre- and post-conditions
-added version number to timestamp commits as trailer
-added hashing algorithm used as trailer
-added digest being timestamped as trailer
-added the string that is hashed to get the digest as traile
-improved log messages of validate.sh
2021-02-21 18:19:05 +01:00
Matthias Bühlmann
0ed310cf9a Improved error reporting if TSA url does not reply with timestamp response.
Corrected simplified merkle-tree schematic.
2021-02-17 21:49:59 +01:00
Matthias Bühlmann
86c39dc7c4 Updated documentation.
Improved script verbosity.
Locally added second TSA so that commits in this repository will contain
two timestamps as an example.
2021-02-16 19:54:19 +01:00
Matthias Bühlmann
d6ef1a5b02 Added verification script to verify all timestamps in the repository.
Updated Documentation.
2021-02-16 10:05:26 +01:00
Matthias Bühlmann
c3a04209da Updated Documentation, fixed variable name. 2021-02-15 19:41:24 +01:00
Matthias Bühlmann
d8d4a4b506 Exit post-commit hook if no TSA is configured
instead of aborting commit.
2021-02-15 18:02:38 +01:00
Matthias Bühlmann
e96ddc7f90 Git hooks to automatically timestamp commits using RFC3161 and RFC5816 tokens 2021-02-11 09:09:39 +01:00