From cb5c579ae46ee0570f2f32408e0427f989bd33ab Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 29 Apr 2022 15:08:53 +0200 Subject: change 'preimage' to 'message' Issue: #40 --- integration/test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'integration') diff --git a/integration/test.sh b/integration/test.sh index 0a5dd78..7ba9dc9 100755 --- a/integration/test.sh +++ b/integration/test.sh @@ -344,8 +344,8 @@ function test_get_leaf() { return fi - preimage=$(openssl dgst -binary <(echo $1) | base16) - checksum=$(openssl dgst -binary <(echo $preimage | base16 -d) | base16) + message=$(openssl dgst -binary <(echo $1) | base16) + checksum=$(openssl dgst -binary <(echo $message | base16 -d) | base16) if [[ $(value_of checksum) != $checksum ]]; then fail "$desc: wrong checksum $(value_of checksum)" return @@ -362,7 +362,7 @@ function test_get_leaf() { function test_add_leaf() { desc="POST add-leaf (data \"$1\")" echo "shard_hint=$ssrv_shard_start" > $log_dir/req - echo "preimage=$(openssl dgst -binary <(echo $1) | base16)" >> $log_dir/req + echo "message=$(openssl dgst -binary <(echo $1) | base16)" >> $log_dir/req echo "signature=$(echo $1 | sigsum-debug leaf sign -k $cli_priv -h $ssrv_shard_start)" >> $log_dir/req echo "verification_key=$cli_pub" >> $log_dir/req -- cgit v1.2.3