aboutsummaryrefslogtreecommitdiff
path: root/server/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'server/testdata')
-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