diff --git a/diagrams/message.mmd b/diagrams/message.mmd index 36aae4bd3..548804785 100644 --- a/diagrams/message.mmd +++ b/diagrams/message.mmd @@ -6,7 +6,7 @@ sequenceDiagram participant App B participant Bob Alice ->> App A: Alice writes the message to Bob in the app - App A ->> Server A: the message (including ID & timestamp) is encrypted by and sent to all Alice's servers
{from: , to: , message: } - Server A ->> Server B: Alice's servers use to locate Bob's servers
and forwards encrypted message to all Bob's servers (in case they are different from Alice's servers + App A ->> Server A: The message (including ID & timestamp) is encrypted with and sent to all Alice's servers
{from: , to: , message: } + Server A ->> Server B: Alice's servers use to locate Bob's servers
and forward encrypted message to all Bob's servers (when they are different from Alice's servers Server B ->> App B: Bob's servers send the message to Bob's app - App B ->> Bob: Bob's app uses to identify Alice
and decrypts the message with to show it \ No newline at end of file + App B ->> Bob: Bob's app uses to identify Alice
and decrypts the messages with diff --git a/diagrams/message.svg b/diagrams/message.svg index 4a1a7668b..01ef078a9 100644 --- a/diagrams/message.svg +++ b/diagrams/message.svg @@ -1,49 +1,49 @@ -AliceApp AServer AServer BApp BBobAlice writes the message to Bob in the appThe message (including ID & timestamp) is encrypted with <AB public key> and sent to all Alice's servers{from: <BA public key hash>, to: <AB public key hash>, message: <encrypted with AB public key>}Alice's servers use <AB public key hash> to locate Bob's serversand forward encrypted message to all Bob's servers (when they are different from Alice's serversBob's servers send the message to Bob's appBob's app uses <BA public key hash> to identify Aliceand decrypts the messages with <AB private key>AliceApp AServer AServer BApp BBob \ No newline at end of file