From cb6485bb6075179dc2521b8e82db961deae74faf Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sat, 21 May 2022 20:31:09 +0200 Subject: add proof verification to sigsum-debug --- cmd/sigsum-debug/leaf/hash/hash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/sigsum-debug/leaf/hash') diff --git a/cmd/sigsum-debug/leaf/hash/hash.go b/cmd/sigsum-debug/leaf/hash/hash.go index 4fd471c..a6fe1ad 100644 --- a/cmd/sigsum-debug/leaf/hash/hash.go +++ b/cmd/sigsum-debug/leaf/hash/hash.go @@ -18,7 +18,7 @@ func Main(args []string, optKeyHash, optSignature string, optShardHint uint64) e if err != nil { return fmt.Errorf("read stdin: %w", err) } - keyHash, err := fmtio.KeyHashFromHex(optKeyHash) + keyHash, err := fmtio.HashFromHex(optKeyHash) if err != nil { return fmt.Errorf("parse key hash: %w", err) } -- cgit v1.2.3