aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2022-04-28 17:09:46 +0200
committerLinus Nordberg <linus@nordberg.se>2022-04-28 17:09:46 +0200
commit3e287f5a49ceaec5a2f5c7b300f36734a1f952f0 (patch)
tree4d6854d782b2f1368f623fd30eeb4a3de454a5d6
parent15e7048f5807e549d8a2b5cb656887edd192df48 (diff)
s/get-tree-head-to-sign/get-tree-head-to-cosign
Following changes in log API.
-rwxr-xr-xsigsum-witness.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigsum-witness.py b/sigsum-witness.py
index 52005df..2465265 100755
--- a/sigsum-witness.py
+++ b/sigsum-witness.py
@@ -279,7 +279,7 @@ def store_tree_head(tree_head):
f.write(tree_head.text())
def fetch_tree_head_and_verify(log_verification_key):
- req = requests.get(g_args.base_url + 'sigsum/v0/get-tree-head-to-sign')
+ req = requests.get(g_args.base_url + 'sigsum/v0/get-tree-head-to-cosign')
if req.status_code != 200:
return None, (ERR_TREEHEAD_FETCH,
"ERROR: unable to fetch new tree head: {}".format(req.status_code))