From ad83b79b2170e1f3002a7a985f2163948ad1f8e0 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Thu, 28 Apr 2022 16:50:29 +0200 Subject: rename endpoint get-tree-head-to-sign Reference: https://pad.sigsum.org/p/sigsum-db #11 --- integration/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'integration') diff --git a/integration/test.sh b/integration/test.sh index f18fa77..2ba101b 100755 --- a/integration/test.sh +++ b/integration/test.sh @@ -201,7 +201,7 @@ function run_tests() { function test_signed_tree_head() { desc="GET tree-head-to-sign (tree size $1)" - curl -s -w "%{http_code}" $log_url/get-tree-head-to-sign \ + curl -s -w "%{http_code}" $log_url/get-tree-head-to-cosign \ >$log_dir/rsp if [[ $(status_code) != 200 ]]; then @@ -387,7 +387,7 @@ function test_add_leaf() { function test_cosignature() { desc="POST add-cosignature (witness $1)" echo "key_hash=$1" > $log_dir/req - echo "cosignature=$(curl -s $log_url/get-tree-head-to-sign | + echo "cosignature=$(curl -s $log_url/get-tree-head-to-cosign | sigsum-debug head sign -k $2 -h $ssrv_key_hash)" >> $log_dir/req cat $log_dir/req | curl -s -w "%{http_code}" --data-binary @- $log_url/add-cosignature \ -- cgit v1.2.3