Skip to content

Commit

Permalink
feat: Initial implementation (#12)
Browse files Browse the repository at this point in the history
* Answers are case insensitive and strip out non-word chars
* Questions are customisable
* Personal information (like email, username, etc...) are customisable
* Configuration over Env variables
* i18n
* Keypair generation when use answer to questions
  • Loading branch information
pasfranc authored Apr 15, 2021
1 parent 73e4420 commit 4c5ed04
Show file tree
Hide file tree
Showing 34 changed files with 6,687 additions and 34 deletions.
12 changes: 12 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#BACKEND CREDENTIALS
BACKEND_PRIVATE_KEY=Aku7vkJ7K01gQehKELav3qaQfTeTMZKgK+5VhaR3Ui0=
BACKEND_PUBLIC_KEY=BBCQg21VcjsmfTmNsg+I+8m1Cm0neaYONTqRnXUjsJLPa8075IYH+a9w2wRO7rFM1cKmv19Igd7ntDZcUvLq3xI=
BACKEND_PASSWORD=myVerySecretPassword

#UNCOMMENT HERE IF YOU WANT TO OVERRIDE DEFAULT WITH A DIFFERENT CONTRACT
#SERVER_SIDE_CONTRACT=zencode/Keypair-Creation-Server-Side.zen
#CLIENT_SIDE_CONTRACT=zencode/Keypair-Creation-Client-Side.zen

#UNCOMMENT HERE IF YOU WANT TO OVERRIDE FOLDER OR FILENAME default: prop/questions-en_GB.json
#QUESTION_FOLDER=props/
#QUESTION_FILE_PREPEND=questions-
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
client_input.data
key_derivation.keys
recreated_keypair.keys
node_modules
lib
.env
5 changes: 5 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
src
tsconfig.json
tslint.json
.prettierrc
.env
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,23 @@ See here what the scripts will return:

- The deployment is done [via restroom-mw](https://dyne.github.io/restroom-mw/#/) and can be installed using the script [deployAPI.sh](deployAPI.sh) or the [Dockerfile](Dockerfile), info about Dockerfile deployment [here](https://dev.zenroom.org/#/pages/apiroom?id=build-and-run-the-docker-image).

# Keypair lib

To configure backend environment variables please put an .env file at the top of your project like this or rename .env.sample to .env:

```json
#BACKEND CREDENTIALS
BACKEND_PRIVATE_KEY=Aku7vkJ7K01gQehKELav3qaQfTeTMZKgK+5VhaR3Ui0=
BACKEND_PUBLIC_KEY=BBCQg21VcjsmfTmNsg+I+8m1Cm0neaYONTqRnXUjsJLPa8075IYH+a9w2wRO7rFM1cKmv19Igd7ntDZcUvLq3xI=
BACKEND_PASSWORD=myVerySecretPassword

#UNCOMMENT HERE IF YOU WANT TO OVERRIDE DEFAULT WITH A DIFFERENT CONTRACT
#SERVER_SIDE_CONTRACT=zencode/Keypair-Creation-Server-Side.zen
#CLIENT_SIDE_CONTRACT=zencode/Keypair-Creation-Client-Side.zen

#UNCOMMENT HERE IF YOU WANT TO OVERRIDE FOLDER OR FILENAME default: prop/questions-en_GB.json
#QUESTION_FOLDER=props/
#QUESTION_FILE_PREPEND=questions-
```


1 change: 1 addition & 0 deletions docs/getsafetyquestions-usecase.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<mxfile host="app.diagrams.net" modified="2021-04-09T12:08:31.511Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36" etag="34vsR4jA3hFh-NreXZ0f" version="14.1.9" type="device"><diagram id="kgpKYQtTHZ0yAKxKKP6v" name="Page-1">5VrbcuI4EP0aqmYfkjK+QR6BJEztkJlkyW4yT1PCFrZqhGVkOcB+/UpYMr4oxCFAoPYJqyW3W6ePj6Q2LWswWw4piMM74kPcMg1/2bKuW6bZtpwO/xGWVWbp2N3MEFDky0Ebwxj9C6XRkNYU+TApDWSEYIbistEjUQQ9VrIBSsmiPGxKcPmpMQhgzTD2AK5bn5DPwszadYyN/StEQaie3DZkzwyowdKQhMAni4LJumlZA0oIy65mywHEAjyFS3bf7Su9eWAURqzJDVaU9m+X9MpbjYw4+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ZHHSBPogQTqSjkFWxakMlfoyoS8lcQ+42FF7jUrAJAE9zg7YfFzgmL+DPm+eIx2dSmvP3tYTczK6cysLyaOrih9sE8zbl04OJOz5OaVui88hXQEoiAFAfzjkGLCkaWrZ9HNRVc2f66bhmUpw/VS3p+1VsVWoVa7PWfZuy/X9C0fCLNXe9t63G0odx9UM7tbpo5zVTmxN1Uz56qyNHY7jdRsB6XSVubrjEukhPSUfpwdwSrJ1zBu73yoLkp2tbzfmA/mG44OzAfrVT74RyDE7vk79vbFrn6Y3HX7UnN00O0Lb27+iZMN3/yfybr5Dw==</diagram></mxfile>
Binary file added docs/getsafetyquestions-usecase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/recoverypassword-usecase.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<mxfile host="app.diagrams.net" modified="2021-04-09T11:58:53.440Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36" etag="T9bfDzqRZYAq1H8pTQ5d" version="14.1.9" type="device"><diagram id="kgpKYQtTHZ0yAKxKKP6v" name="Page-1">5Vzfc5s4EP5rPNN7iIdfEvgxdprcXNI2bXrX3r10MMg2E2w5ICf2/fUnQMJIIphgY+NLXooWIcS3n1a7q6175mi+vonc5ewT9lHYMzR/3TOveoahm8Cm/ySSTSaxLScTTKPAZ522gofgX8SEGpOuAh/FQkeCcUiCpSj08GKBPCLI3CjCL2K3CQ7Fty7dKVIED54bqtIfgU9mmdQB2lb+OwqmM/5mXWN35i7vzATxzPXxS0FkfuyZowhjkl3N1yMUJuBxXLLnrl+5m08sQgtS5wFzsRper6OBt7nTlosvP74b7s0FG+XZDVfsgz/hcUA/3tAu7+/ZxMmGo0G/YZlcrubhXTBBYbCgreESRcEcERTROyET329lQ6ob4lJZcl9P22HoLuNgnA6rUUmEvFUUB8/oG4ozCqRSvFr4y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xqifoUZlAaiXDZeLZHtAJVtNcf55fYYHJVPefY446Gej+TQDHTnuA6NXcL5Q1jzFvOquiYlVm1dTKw2XAOWlFe1Zfe8C6xX86ots/4oaf0OsMqC4m5uy8mApul5ZaBWaUSb219szLpvf/fS/Pgf</diagram></mxfile>
Binary file added docs/recoverypassword-usecase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/signinafternotheruserlogout-usecase.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<mxfile host="app.diagrams.net" modified="2021-04-09T11:49:54.311Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36" etag="jTTV9A2_cDZ8j2XQNJWK" version="14.1.9" type="device"><diagram id="kgpKYQtTHZ0yAKxKKP6v" name="Page-1">7V3bcts2EP0azSQP1vB+ebTkS9OosVNn2qYvGYqEJNYUoZCQLfXrC/BOAJJgiRSppJ7pRFyCIHj2YLG7WLIDdbzc3EfOavEb9EAwUCRvM1BvBooiq7qJ/yGSbSoxNSsVzCPfyxqVgif/X5AJpUy69j0Q1xoiCAPkr+pCF4YhcFFN5kQRfK03m8GgfteVMweM4Ml1Alb6p++hRSq1dKmU/wL8+SK/syxlZ5ZO3jgTxAvHg68VkXo7UMcRhCj9tdyMQUDAy3FJr7vbcbYYWARCJHKBGq5Hd5vIdrcTaRU+/PlFce6vsl5enGCdPfBvcOrjh1ek68fHbOBom6OBn2FFfq6XwcSfgcAP8dFoBSJ/CRCI8JkgEz+WshHWDXKwjJyXk+MgcFaxP026lbAkAu46iv0X8DuIUwokUrgOPeBlRwV+yQGK4HOhEdIpC0f+bCBCYFMRZfDcA4gHGG1xk+ysIuvpJRlXrUxzr6XiC/UuKkq384ZORrZ50XWpD/wjU8kb1KMw6mFUsoJ+iJL76qOBfkOpA0ZoAecwdIKqQk4Edi+ThNHW6mCbPLA5WMttYa0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IlIGUq3nPI81vLpyYKr0wNLarA/AkP4M2aSdOckD9G2SqbqoYW0nR0l9yKfYfDlAFmx1nG2lWVZoInobLdtNL2mVdtgsyQQqJv8nWR0ysxWSqTpf/U2zjK4ayk3hTmfA3Nu+HVpanMpFiI8/kMjceSEf5oQkmYsW/FxuLZW4WpAMAkYI//dcfPJqBqOkAx9jle5Hq+yGZrSAy+k6flvCYqCod8lfM1kLqpBf5XxHrHjV8Tx1pRZbv8txyEqjIB/Gr75VjxG0lCmJ5RhkPR1YntZQPohiNqc2lAdsa+lHm03bfr19YoD9YQod6AWv69pcm7U6nx5+XPhp/nePv8B7AT+HM2Kbgs5I5RvaHey72mz+2nVCFwTFW1z02jyLyCf20nVbyhbmRtcNz5iSt2yZdWM2mymu286On8571YO349fa5wzlPCVz9hwJW72qt/cS3ZFJuN0fFe8mqUGteyq9DyyexaDTdPbQPucb5fiw/HJ/2rz8/x+ot/8B</diagram></mxfile>
Binary file added docs/signinafternotheruserlogout-usecase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/signup-usecase.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<mxfile host="app.diagrams.net" modified="2021-04-13T12:25:30.952Z" agent="5.0 (X11)" etag="Fff2cdVyGFSXozG2bA1P" version="14.6.0" type="device"><diagram id="kgpKYQtTHZ0yAKxKKP6v" name="Page-1">5Vxtd5u4Ev41Pmf3Q3wAIV4+xk6a3W3auk3u3d79sgeDYnOCLVfgxt5fv+LVIMkYU4Txbb7EDCDEM49GM6MRIzBd7R6Is1l+wB4KRpri7UbgbqRpKoAm/RdL9qnEUjLBgvhedtFB8OT/gzKhkkm3vofCyoURxkHkb6pCF6/XyI0qMocQ/Fa97AUH1adunAXiBE+uE/DSP30vWmZvAZWD/DfkL5b5k1UlO7Ny8oszQbh0PPxWEoH7EZgSjKP012o3RUEMXo5Let+7I2eLjhG0jprcANbbybsdsd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EdxfWqFSBTajLjXmAKnGx2dCl2qLyfN582V77nxY8Raq46NqSRH1Rnm4YJX2kV6jofFBEUppmkcngvP9Y5RPJ5WXBemNWhMyw7HmITPkbD7e+8M8E6sGxDkuMhyMdDYYQJ+k9Y5cXQw+ALFWZyrkH7skyuKdma58OSWN+/e30MfmVcDkrUsdKiKvMoW05HwoIqyrqvqVw8erFss8oVzW5JO5a/A4xd4CWqhXsrfDyZYR5K4aMO+MLxlsZOY8stVGWcM3pIxBMVE6RVUy846cOBfMa3Lc5P3KSO/S29QNM3u8NJrvaqqJGkhL3ZbugN1OS6Tli7iZjK0sfn4itxpM//1iC7rZP3maHo8ypdOM3YWdtvD9OPxl9kt7y/+21v6R8EHxl6+vA84xQw4ERKB1pR2UXxXtMmQr0M86s3tRRqmzQxBBUIspImwhfgCzfCeH8YXr/4ZJWspmUfMrhAWNC3t29qzKTVdAJU2UoDrqXunH2hFnmX6tP7vvwpvRCkHpVttPp0XmkNrbqjy9b6XEXLx2dne46l+3GM+TbNtl6cGe9PAVCzdVU1Dd2A9e3+gEdH2ebsS1dk1vzoOwIAx4Yl7M5hIKWNdjqseIdR7rBqRNu6eejibFQVYI4N0y7+qvUkZvvd2FVy6vXNSo026OHhE+bp5YcPwYP7fwE=</diagram></mxfile>
Binary file added docs/signup-usecase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions jestconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"bail": 10,
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"]
}
Loading

0 comments on commit 4c5ed04

Please sign in to comment.