aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-09-28 22:47:28 +0200
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-09-28 23:47:11 +0200
commit35e3fdcee8d3660998cb8a7a6959e0a56255f425 (patch)
tree405fce495400fc5698e775e09905906aaf32d56a /doc
parentfef460586e847e378a197381ef1ae3a64e6ea38b (diff)
removed unused Trunnel structure
Diffstat (limited to 'doc')
-rw-r--r--doc/api.md18
1 files changed, 5 insertions, 13 deletions
diff --git a/doc/api.md b/doc/api.md
index 3f3db55..9d41d2c 100644
--- a/doc/api.md
+++ b/doc/api.md
@@ -93,21 +93,13 @@ an [attack](https://git.sigsum.org/sigsum/tree/archive/2021-08-10-witnessing-bro
in multi-log ecosystems.
#### 2.3.2 - (Co)signed tree head
-A signed tree head contains a tree head and a signature.
-```
-struct signed_tree_head {
- struct tree_head tree_head;
- u8 signature[64];
-};
-```
-
-`tree_head` describes a log's state, see Section 2.3.1.
+A signed tree head is composed of a tree head and a signature. This structure
+does not have a Trunnel definition because it is neither signed nor logged.
-`signature` is a log's signature over `tree_head`.
+Logs and witnesses sign the same `tree_head` structure, see Section 2.3.1.
-A witness cosigns the same serialized _tree head_. Note that tree heads are
-scoped to a specific log to ensure that a witness signature for log X cannot be
-confused with a witness signature for log Y.
+Note that tree heads are scoped to a specific log to ensure that a witness
+signature for log X cannot be confused with a witness signature for log Y.
A witness must not cosign a tree head if it is inconsistent with prior history
or if the timestamp is backdated more than 5 minutes. A witness can be viewed