Page MenuHomePhabricator

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

Authored by kamil on Apr 22 2024, 3:53 PM.
Tags
None
Referenced Files
F3343601: D11720.id39618.diff
Fri, Nov 22, 3:30 AM
F3341044: D11720.diff
Thu, Nov 21, 10:28 PM
Unknown Object (File)
Fri, Nov 8, 5:12 PM
Unknown Object (File)
Wed, Oct 23, 7:24 PM
Unknown Object (File)
Wed, Oct 23, 7:24 PM
Unknown Object (File)
Wed, Oct 23, 7:24 PM
Unknown Object (File)
Wed, Oct 23, 7:21 PM
Unknown Object (File)
Oct 23 2024, 2:50 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
Branch
publish-receiver
Lint
No Lint Coverage
Unit
No Test Coverage

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.Apr 22 2024, 3:54 PM
lib/utils/olm-utils.js
127
kamil published this revision for review.Apr 23 2024, 6:38 AM
This revision is now accepted and ready to land.Apr 24 2024, 3:12 AM