From c0ff2093d96d543e60d312a1bf5cc836682cb978 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 5 Apr 2021 01:25:51 +0200 Subject: add example survey these can be found in site/examples. There is a simple unencrypted survey in "example.json", and an encrypted variant of the same in "encrypted.json". The key used for encryption can be found in "key.age"; in particular, note that the passphrase for the encrypted survey is exactly that private key. --- site/examples/encrypted.json | Bin 0 -> 641 bytes site/examples/example.json | 1 + site/examples/key.age | 3 +++ 3 files changed, 4 insertions(+) create mode 100644 site/examples/encrypted.json create mode 100644 site/examples/example.json create mode 100644 site/examples/key.age diff --git a/site/examples/encrypted.json b/site/examples/encrypted.json new file mode 100644 index 0000000..3eac1c5 Binary files /dev/null and b/site/examples/encrypted.json differ diff --git a/site/examples/example.json b/site/examples/example.json new file mode 100644 index 0000000..2a6c2f9 --- /dev/null +++ b/site/examples/example.json @@ -0,0 +1 @@ +{"title":"Test Survey","description":"This is a test survey.","questions":[{"question":"first question","name":"question1","space":"YesOrNo"},{"question":"second question","name":"question2","space":{"Freeform":"test"}},{"question":"third question","name":"question3","space":{"Multiple":["first possible answer","second possible answer","third possible answer"]}}],"pubkey":"age1f380w6eaeuydey65mmu88h4kqv50dda96pxlgkal78sufpnngypqnetmuu"} diff --git a/site/examples/key.age b/site/examples/key.age new file mode 100644 index 0000000..0a17fe5 --- /dev/null +++ b/site/examples/key.age @@ -0,0 +1,3 @@ +# created: 2021-04-04T00:24:17+02:00 +# public key: age1f380w6eaeuydey65mmu88h4kqv50dda96pxlgkal78sufpnngypqnetmuu +AGE-SECRET-KEY-1S2V6TAN98U5V4J4VL78L94HHTUDQ9LJHJAA78L4JH5JALLGAF69SN3WE6X -- cgit v1.2.3