aboutsummaryrefslogtreecommitdiff
path: root/issues/bug-tree-prefixes
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2022-03-02 22:36:09 +0100
committerRasmus Dahlberg <rasmus@mullvad.net>2022-03-02 22:36:09 +0100
commit94195d3af2933dd02bf75708a0096bfcef775347 (patch)
treed79f3154cbac0e996d38b7c415d4d9152f0211b4 /issues/bug-tree-prefixes
parente5cbe58e982515c570b5c97fc9acd569bf9648d1 (diff)
issues: bug report
Diffstat (limited to 'issues/bug-tree-prefixes')
-rw-r--r--issues/bug-tree-prefixes9
1 files changed, 9 insertions, 0 deletions
diff --git a/issues/bug-tree-prefixes b/issues/bug-tree-prefixes
new file mode 100644
index 0000000..30be740
--- /dev/null
+++ b/issues/bug-tree-prefixes
@@ -0,0 +1,9 @@
+The following constants should be reversed:
+
+ pkg/types/crypto.go:13: InteriorNodePrefix = byte(0x00)
+ pkg/types/crypto.go:14: LeafNodePrefix = byte(0x01)
+
+(LeafNodePrefix should be 0x00 as we follow the RFC 6962 hash strategy.)
+
+Prints in sigsum-log-go are affected by this bug but not the log's Merkle tree
+as it is computed by Trillian and not sigsum-log-go. Fix until next tag.