mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-03-30 18:35:59 +00:00
* docs: update protocol specifications * update SMP protocol (WIP) * add proxy protocol commands and responses, amend envelope sizes in SMP protocol * docs: update XFTP protocol (#1205) * docs: update XFTP protocol * commands * fix table of contents, move sections * add about ids * download encryption * qualities * diagram * crypto * sending file diagram * fix svg * receiving file diagram * update commands * update handshake * Add updated XRCP (#1207) * add XRCP protocol * add ToC * update * update --------- Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> * add XFTP handshake description * update agent protocol * fast duplex connection in agent protocol * update agent protocol * update overview * typos * queue rotation, agent API, updates * push notifications specification * add XRCP threat model * XFTP threat model * update PQDR * agent protocol end-to-end encryption * versions * remove TOC details * update --------- Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com>
23 lines
866 B
Plaintext
23 lines
866 B
Plaintext
sequenceDiagram
|
||
participant B as Bob (sender)
|
||
participant S as server (queue RID)
|
||
participant A as Alice (recipient)
|
||
|
||
note over A: creating queue<br>("public" key RK<br>for msg retrieval)
|
||
A ->> S: 1. create queue ("NEW")
|
||
S ->> A: respond with queue RID and SID ("IDS")
|
||
|
||
note over A: out-of-band msg<br>(sender's queue SID<br>and "public" key EK<br>to encrypt msgs)
|
||
A -->> B: 2. send out-of-band message
|
||
|
||
note over B: confirm queue<br>("public" key SK for<br>sending messages,<br>public key for<br>e2e encryption<br>and any optional<br>encrypted info)
|
||
B ->> S: 3. confirm queue ("SEND" command not signed)
|
||
|
||
S ->> A: 4. deliver Bob's message (MSG)
|
||
note over A: decrypt message<br>("private" key EK)
|
||
A ->> S: acknowledge message (ACK)
|
||
|
||
A ->> S: 5. secure queue ("KEY", RK-signed)
|
||
|
||
note over S: 6. simplex<br>queue RID<br>is ready to use!
|