diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-10-28 13:38:39 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-10-28 13:38:39 +0100 |
commit | d752d967335e1418f27e03e0389b01178b28f232 (patch) | |
tree | abc3b6f2e3b64af67f19ca50f6e5c3609d829fb9 /server/testdata | |
parent | e7801b268c97c6b72bfcd76549ce5fd50ab0b1b5 (diff) |
added signed tree head and get-sth code path
Diffstat (limited to 'server/testdata')
-rwxr-xr-x | server/testdata/cmd/get-sth | 9 |
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 |