docs: update sending message diagram

This commit is contained in:
Evgeny Poberezkin 2019-12-21 14:31:42 +00:00
parent 08a933e22c
commit ac58b56ac6
2 changed files with 146 additions and 146 deletions

View file

@ -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 with <AB public key> and sent to all Alice's servers<br>{from: <BA public key hash>, to: <AB public key hash>, message: <encrypted with AB public key>}
Server A ->> Server B: Alice's servers use <AB public key hash> to locate Bob's servers<br>and forward encrypted message to all Bob's servers (when they are different from Alice's servers
App A ->> Server A: The message (including ID & timestamp) is encrypted with Bob's <BA public key> and sent to all Alice's servers<br>{from: <AB public key hash>, to: <BA public key hash>, message: <encrypted with BA public key>}
Server A ->> Server B: Alice's servers use <BA public key hash> to locate Bob's servers<br>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 <BA public key hash> to identify Alice<br>and decrypts the messages with <AB private key>
App B ->> Bob: Bob's app uses <AB public key hash> to identify Alice<br>and decrypts the messages with Bob's <BA private key>

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before After
Before After