HomePhabricator
Diffusion Comm 5759f0fb35b6

[lib] Do not reset a session when getting already decrypted message

Description

[lib] Do not reset a session when getting already decrypted message

Summary:
https://linear.app/comm/issue/ENG-9713/mitigate-risk-of-olm-already-decrypted-or-keys-skipped

Depends on D13900

Test Plan:
This scenario is hard to reproduce normally (tunnelbroker connection needs to be broken in just the right moment)
so:

Reviewers: tomek, kamil

Reviewed By: kamil

Subscribers: ashoat

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

Details

Provenance
angelikaAuthored on Fri, Nov 8, 7:45 AM
Reviewer
kamil
Differential Revision
D13901: [lib] Do not reset a session when getting already decrypted message
Parents
rCOMM34c732abe671: [lib] Implement getInboundP2PMessagesByID in SQLiteAPI
Branches
Unknown
Tags
Unknown