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)
Mon, Oct 21, 8:52 AM
Unknown Object (File)
Fri, Oct 11, 9:36 AM
Unknown Object (File)
Fri, Oct 11, 9:36 AM
Unknown Object (File)
Fri, Oct 11, 9:36 AM
Unknown Object (File)
Fri, Oct 11, 9:36 AM
Unknown Object (File)
Sep 29 2024, 1:53 AM
Unknown Object (File)
Sep 26 2024, 7:38 AM
Unknown Object (File)
Sep 24 2024, 2:06 AM
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.Apr 2 2024, 2:53 AM