Page MenuHomePhabricator

[web] update `olm` session creation code use `EncryptedData`
ClosedPublic

Authored by kamil on Mar 28 2024, 10:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 10, 11:16 AM
Unknown Object (File)
Mon, Apr 8, 6:12 PM
Unknown Object (File)
Fri, Apr 5, 6:18 PM
Unknown Object (File)
Fri, Apr 5, 7:15 AM
Unknown Object (File)
Wed, Apr 3, 7:40 PM
Unknown Object (File)
Wed, Apr 3, 5:02 AM
Unknown Object (File)
Mon, Apr 1, 9:45 AM
Unknown Object (File)
Mar 28 2024, 12:01 PM
Subscribers

Details

Summary

Context in ENG-7228.

Note: We use a shared olmAPI interface on both platforms, to split this logically into diffs sometimes I had to make changes on one platform and make some temporary changes on another platform to make sure CI passes but this approach is consistent and uses the same approach for both web and native.
Depends on D11449

Test Plan

Tested in D11451.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Mar 29 2024, 5:44 AM
kamil edited the summary of this revision. (Show Details)
kamil added inline comments.
lib/components/keyserver-connection-handler.js
164 ↗(On Diff #38478)

We decided to not update the notif's code to use full EncryptedMessage, so sending only the encrypted message here to avoid making the endpoint accept inconsistent initial*EncryptedMessage

This revision is now accepted and ready to land.Tue, Apr 2, 2:53 AM