From 94195d3af2933dd02bf75708a0096bfcef775347 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Wed, 2 Mar 2022 22:36:09 +0100 Subject: issues: bug report --- issues/bug-tree-prefixes | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 issues/bug-tree-prefixes 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. -- cgit v1.2.3