diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -16,12 +16,12 @@ $ curl --location --request POST 'localhost:8080/transaction' --header 'Content- | |||
16 | # how? | 16 | # how? |
17 | 17 | ||
18 | ## authentication | 18 | ## authentication |
19 | Students generate their own `keypairs` and authenticate with their METU Student IDs. | 19 | - Student generates a 2048 bit RSA Public Key (PK) / Private Key (PR) pair (available in python, c++, rust, gpg) |
20 | Some JWT scheme, coming up. | 20 | - They then encrypt their PKs and Student IDs with Gradecoin's PK (will be published) |
21 | 21 | - They use their PR as the signing key for JWTs | |
22 | Authenticated students propose transactions, between them and another node (=public keys) or between the grader (=bank) and themselves. | ||
23 | 22 | ||
24 | ## transactions | 23 | ## transactions |
24 | Students propose transactions, between them and another node (=public keys) or between the grader (=bank) and themselves. | ||
25 | Transactions are `signed` using the proposers private key. | 25 | Transactions are `signed` using the proposers private key. |
26 | (This whole public/private key + signing process will require some crypto dependency, **todo**) | 26 | (This whole public/private key + signing process will require some crypto dependency, **todo**) |
27 | 27 | ||