mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
3e07161121
* 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
21 lines
828 B
Plaintext
21 lines
828 B
Plaintext
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!
|