aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-10-28 13:38:39 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-10-28 13:38:39 +0100
commitd752d967335e1418f27e03e0389b01178b28f232 (patch)
treeabc3b6f2e3b64af67f19ca50f6e5c3609d829fb9 /server
parente7801b268c97c6b72bfcd76549ce5fd50ab0b1b5 (diff)
added signed tree head and get-sth code path
Diffstat (limited to 'server')
-rwxr-xr-xserver/testdata/cmd/get-sth9
1 files changed, 9 insertions, 0 deletions
diff --git a/server/testdata/cmd/get-sth b/server/testdata/cmd/get-sth
new file mode 100755
index 0000000..9060633
--- /dev/null
+++ b/server/testdata/cmd/get-sth
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+set -eo pipefail
+source config
+
+info "fetching signed tree head"
+curl -G $base_url/get-sth
+newline
+# TODO: try decoding and verifying signature