Files
simplex-chat/diagrams/simplex-messaging/simplex-creating.mmd
T
Evgeny Poberezkin 3e07161121 Remove connection ID and alternative flow (#22)
* docs: remove connection ID from simplex-messaging.md, #8

* docs: remove alternative flow in simplex-messaging, #20

* docs: update simplex diagrams to remove connection ID

* docs: remove connection ID from graph-chat

* docs: update duplex connection diagram to remove connection ID, closes #8
2020-01-26 21:34:14 +00:00

21 lines
828 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
sequenceDiagram
participant B as Bob (sender)
participant S as server (conn. RU)
participant A as Alice (recipient)
note over A: creating connection <br> ("public" key RK <br> for msg retrieval)
A ->> S: 1. create connection
S ->> A: respond with connection URIs
note over A: out-of-band msg <br> (sender conn. URI <br> and "public" key EK <br> to encrypt msgs)
A -->> B: 2. send out-of-band message
note over B: accept connection <br> ("public" key SK for <br> sending messages <br> and any optional <br> info encrypted with <br> "public" key EK)
B ->> S: 3. confirm connection (req not signed)
S ->> A: 4. retrieve Bob's message (RK-signed req)
note over A: decrypt message <br> ("private" key EK)
A ->> S: 5. secure connection
note over S: 6. secure <br> connection RU <br> is established!