Page MenuHomePhabricator

[lib] update P2P message handler to use sequential decrypt
ClosedPublic

Authored by kamil on Mon, Apr 22, 3:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 12:08 PM
Unknown Object (File)
Fri, May 3, 10:29 PM
Unknown Object (File)
Sun, Apr 28, 5:14 PM
Unknown Object (File)
Fri, Apr 26, 6:32 PM
Unknown Object (File)
Tue, Apr 23, 1:50 AM
Unknown Object (File)
Tue, Apr 23, 1:49 AM
Unknown Object (File)
Tue, Apr 23, 1:47 AM
Subscribers

Details

Summary

In client <-> client communication we have to track messages order.

Depends on D11719

Test Plan

Created session between two clients:

  1. Sending a couple of encrypted messages
  2. Sending messages with wrong order -> OLM_MESSAGE_OUT_OF_ORDER
  3. Sending the same message multiple times -> OLM_ALREADY_DECRYPTED_OR_KEYS_SKIPPED

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil retitled this revision from [lib]update P2P message handler to use sequential decrypt to [lib] update P2P message handler to use sequential decrypt.Mon, Apr 22, 3:54 PM
lib/utils/olm-utils.js
127 ↗(On Diff #39371)
kamil published this revision for review.Tue, Apr 23, 6:38 AM
This revision is now accepted and ready to land.Wed, Apr 24, 3:12 AM