aboutsummaryrefslogtreecommitdiff
path: root/issues
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2021-12-18 18:44:56 +0100
committerRasmus Dahlberg <rasmus@mullvad.net>2021-12-18 18:46:08 +0100
commit5ba4a77233549819440cc41a02503f3a85213e24 (patch)
treeae25dc99c2c6338ddd9301e10a86cff0f26b959b /issues
parent4a4a4e17d159070ceb7ab7a580c8be6ad2c57e06 (diff)
issues: Fix error-prone timestamp configuration
Diffstat (limited to 'issues')
-rw-r--r--issues/fix-error-prone-timestamp-configuration.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/issues/fix-error-prone-timestamp-configuration.md b/issues/fix-error-prone-timestamp-configuration.md
new file mode 100644
index 0000000..79db548
--- /dev/null
+++ b/issues/fix-error-prone-timestamp-configuration.md
@@ -0,0 +1,23 @@
+**Title:** Fix error-prone timestamp configuration</br>
+**Date:** 2021-12-18 </br>
+
+# Summary
+Stop relying on Trillian to update tree head timestamps.
+
+# Description
+A sigsum log is expected to produce a new to-sign tree head every five minutes.
+If no new entries were added, only the timestamp is updated to ensure freshness.
+
+The current sigsum-log-go implementation assumes that Trillian ensures that a
+new tree head is produced every five minutes. It can be configured as follows:
+```
+$ createtree --help
+Usage of ./createtree:
+[...]
+ -max_root_duration duration
+ Interval after which a new signed root is produced despite no submissions; zero means never (default 1h0m0s)
+[...]
+```
+
+It would be less error-prone to configure this from sigsum-log-go instead, as
+part of the `StateManager` interface based on a constant (i.e., 5 minutes).