aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2022-04-20 22:33:50 +0300
committerYigit Sever2022-04-20 22:33:50 +0300
commitf05230c742908f068a1474e893503f1555b99f1a (patch)
tree6ac7deb8da00f05ac00a2ea7be4f73cae79b2875
parent95daa7ea1aada38a13da1a71c3be8d58aef46a97 (diff)
downloadgradecoin-site-f05230c742908f068a1474e893503f1555b99f1a.tar.gz
gradecoin-site-f05230c742908f068a1474e893503f1555b99f1a.tar.bz2
gradecoin-site-f05230c742908f068a1474e893503f1555b99f1a.zip
fix public/private key confusion
-rw-r--r--content/_index.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/content/_index.md b/content/_index.md
index 036fc57..e41dd2c 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -44,16 +44,16 @@ Programming a bot is absolutely fine as long as it's not aggressively sending re
44 44
45## /register 45## /register
46- Create your own 2048 bit RSA `keypair` 46- Create your own 2048 bit RSA `keypair`
47- Download `Gradecoin`'s Public Key from [Moodle](https://odtuclass.metu.edu.tr/my/) 47- Download `Gradecoin`'s public key from [ODTUClass](https://odtuclass.metu.edu.tr/my/)
48- Encrypt your [JSON](https://www.json.org/json-en.html) wrapped `Public Key`, `Student ID` and one time `passwd` using Gradecoin's Public Key 48- Encrypt your [JSON](https://www.json.org/json-en.html) wrapped `Public Key`, `Student ID` and one time `passwd` using Gradecoin's public key
49- Your public key is now in our database and can be used to sign your JWT's during requests 49- Your public key is now in the database. You can use your private key to sign your JWTs during requests
50- **Don't forget your Public Key** 50- **Don't forget your public key**
51- For more information, check the [register](@/register_docs.md) page 51- For more information, check the [register](@/register_docs.md) page
52 52
53## /transaction 53## /transaction
54- You can offer a [Transaction](@/transaction_docs.md) with a POST request 54- You can offer a [Transaction](@/transaction_docs.md) with a POST request
55 - The request should have `Authorization` 55 - The request should have `Authorization`
56 - The request header should be signed by the Public Key of the `source` field in the transaction 56 - The request header should be signed by the private key of the `source` field in the transaction
57- Fetch the list of `Transaction`s with a GET request 57- Fetch the list of `Transaction`s with a GET request
58- For more information, check our [transaction](@/transaction_docs.md) page 58- For more information, check our [transaction](@/transaction_docs.md) page
59 59
@@ -64,7 +64,7 @@ Programming a bot is absolutely fine as long as it's not aggressively sending re
64- Fetch the last accepted `Block` with a GET request 64- Fetch the last accepted `Block` with a GET request
65- For more information, check our [block](@/block_docs.md) page 65- For more information, check our [block](@/block_docs.md) page
66 66
67> `Authorization`: The request header should have Bearer JWT.Token signed with Student Public Key 67> `Authorization`: The request header should have Bearer JWT.Token signed with student's private key
68 68
69## /user 69## /user
70- Looking for people to conduct business with? Everyone is listed here! 70- Looking for people to conduct business with? Everyone is listed here!