diff options
author | Linus Nordberg <linus@nordberg.se> | 2022-03-28 15:45:33 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2022-03-28 15:45:33 +0200 |
commit | 0a11cb0cb7953facd6393e0f5189164f112ade1c (patch) | |
tree | 3feef3420147ce645f826a1a2a0115b174e9844f /pkg | |
parent | 468b097a63c52fbf851c4cc99d8b716a13c19aa9 (diff) |
sign using SSHSIG; add test using ssh-keygen -Y sign
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/client/submitter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/client/submitter.go b/pkg/client/submitter.go index 412890f..287bac3 100644 --- a/pkg/client/submitter.go +++ b/pkg/client/submitter.go @@ -75,7 +75,7 @@ func (sc *SubmitClient) AddLeaves(_ context.Context, leaves []requests.Leaf) ([] l := types.Leaf{ Statement: types.Statement{ ShardHint: leaf.ShardHint, - Checksum: leaf.Checksum, + Checksum: *types.HashFn(leaf.Preimage[:]), }, Signature: leaf.Signature, KeyHash: *types.HashFn(leaf.VerificationKey[:]), |