HomePhabricator
Diffusion Comm a14e4c1d5e9a

[web/lib] add sequential decrypt to `olmAPI`

Description

[web/lib] add sequential decrypt to olmAPI

Summary:
Binding to olm method to sequential decrypt. Implementing different because this method will also be responsible for persisting message in SQLite (added later in the stack).

Depends on D11718

Test Plan:
Created session between two web clients:

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

Reviewers: tomek, marcin

Reviewed By: marcin

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D11719

Details

Provenance
kamilAuthored on Apr 22 2024, 3:41 PM
Reviewer
marcin
Differential Revision
D11719: [web/lib] add sequential decrypt to `olmAPI`
Parents
rCOMM5614c6e730ac: [CommCoreModule] add sequential decrypt to crypto API
Branches
Unknown
Tags
Unknown