aboutsummaryrefslogtreecommitdiffstats
path: root/content/register_docs.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/register_docs.md')
-rw-r--r--content/register_docs.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/register_docs.md b/content/register_docs.md
index 9f5596e..f5bd11d 100644
--- a/content/register_docs.md
+++ b/content/register_docs.md
@@ -4,19 +4,19 @@ description = "Register Documentation"
4weight = 3 4weight = 3
5+++ 5+++
6 6
7Here you can authenticate yourself with the system with **your own RSA keypair**. 7Here you can authenticate yourself with the system with **your own RSA key pair**.
8Only people who are enrolled to the class can open Gradecoin accounts, with some exceptions for people who asked nicely. 8Only people who are enrolled to the class can open Gradecoin accounts, with some exceptions for people who asked nicely.
9This is enforced with your Student ID (e123456) and a one time password you received with your complementary *Welcome to Gradecoin* email. 9This is enforced with your Student ID (e123456) and a one time password you received with your complementary *Welcome to Gradecoin* email.
10 10
11# Authentication Process 11# Authentication Process
12> The cryptographic outputs you are sending over the network are all Base64 Encoded 12> The cryptographic outputs you are sending over the network are all Base64 Encoded
13 13
14- Gradecoin's Public Key (`gradecoin_public_key`) is listed on our Moodle page and [here](/gradecoin.pub). Download and load it it to your client. 14- Gradecoin's Public Key (`gradecoin_public_key`) is listed on our Moodle page and [here](/gradecoin.pub). Download and load it to your client.
15- Create a JSON object (`P_AR`) with your `metu_id` ("e"+`6 chars`) and the `public key` you have created before in base64 (PEM) format (`S_PK`) [reference](https://tls.mbed.org/kb/cryptography/asn1-key-structures-in-der-and-pem) 15- Create a JSON object (`P_AR`) with your `metu_id` ("e"+`6 chars`) and the `public key` you have created before in base64 (PEM) format (`S_PK`) [reference](https://tls.mbed.org/kb/cryptography/asn1-key-structures-in-der-and-pem)
16```json 16```json
17{ 17{
18 "student_id": "e123456", 18 "student_id": "e123456",
19 "passwd": "15 char secret", 19 "passwd": "32 char secret",
20 "public_key": "---BEGIN PUBLIC KEY..." 20 "public_key": "---BEGIN PUBLIC KEY..."
21} 21}
22``` 22```