mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-04-26 01:02:29 +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>
21 lines
802 B
Plaintext
21 lines
802 B
Plaintext
sequenceDiagram
|
|
participant A as Alice
|
|
participant R as Current server<br>that has A's<br>receive queue
|
|
participant R' as New server<br>that has the new A's<br>receive queue
|
|
participant S as Server<br>that has A's send queue<br>(B's receive queue)
|
|
participant B as Bob
|
|
|
|
A ->> R': NEW: create new queue
|
|
A ->> S: SEND: QADD (R'): send address<br>of the new queue(s)
|
|
S ->> B: MSG: QADD (R')
|
|
B ->> R: SEND: QKEY (R'): sender's key<br>for the new queue(s)
|
|
R ->> A: MSG: QKEY(R')
|
|
A ->> R': KEY: secure new queue
|
|
A ->> S: SEND: QUSE (R'): instruction to use new queue(s)
|
|
S ->> B: MSG: QUSE (R')
|
|
B ->> R': SEND: QTEST
|
|
R' ->> A: MSG: QTEST
|
|
A ->> R: DEL: delete the old queue
|
|
B ->> R': SEND: send messages to the new queue
|
|
R' ->> A: MSG: receive messages from the new queue
|
|
|