aboutsummaryrefslogtreecommitdiff
path: root/server/testdata
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-10-27 19:16:10 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-10-27 19:16:10 +0100
commite7801b268c97c6b72bfcd76549ce5fd50ab0b1b5 (patch)
tree1eecf16a6b263750b0d480c3d966dff2f3072cfd /server/testdata
parent13dd306e69b26ab8b7aedcd6ed915df4b6672a01 (diff)
added ed25519 signing and SDIs
Diffstat (limited to 'server/testdata')
-rw-r--r--server/testdata/chain/stfe.key3
-rwxr-xr-xserver/testdata/cmd/add-entry2
2 files changed, 5 insertions, 0 deletions
diff --git a/server/testdata/chain/stfe.key b/server/testdata/chain/stfe.key
new file mode 100644
index 0000000..ffc5df4
--- /dev/null
+++ b/server/testdata/chain/stfe.key
@@ -0,0 +1,3 @@
+-----BEGIN PRIVATE KEY-----
+MC4CAQAwBQYDK2VwBCIEIAhqlhKgY/TiEyTIe5BcZKLELGa2kODtJ3S+oMP4JwsA
+-----END PRIVATE KEY-----
diff --git a/server/testdata/cmd/add-entry b/server/testdata/cmd/add-entry
index 9efd3bf..d5b404d 100755
--- a/server/testdata/cmd/add-entry
+++ b/server/testdata/cmd/add-entry
@@ -31,3 +31,5 @@ popd >/dev/null
info "sending add-entry request"
curl --header "application/json" --request POST --data $json $base_url/add-entry
+newline
+# TODO: try decoding and verifying signature