Quintor / StudyBits

Apache License 2.0
6 stars 5 forks source link

Reconsider handshake-flow and resolve didOrNonce issue #129

Closed pimotte closed 5 years ago

pimotte commented 5 years ago

Design:

Student obtains verinym from trusted channel (for now: API endpoint, later: from website). Student queries ledger to get endpoint. (and name?) Student sends Anoncrypted (to Verinym) ConnectionRequest (authorization in header, not message) University sends Anoncrypted (to DID from ConnectionRequest) ConnectionResponse Connection is considered to be complete, rest of communcation done using AuthCrypt.

This means that plaintext is no longer needed, so this can be removed and the didOrNonce field can be simplified to be just "did"

pimotte commented 5 years ago

Done