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)
Thu, Nov 28, 3:03 AM
Unknown Object (File)
Thu, Nov 28, 12:35 AM
Unknown Object (File)
Wed, Nov 27, 10:42 PM
Unknown Object (File)
Wed, Nov 13, 12:51 PM
Unknown Object (File)
Wed, Nov 13, 12:51 PM
Unknown Object (File)
Wed, Nov 13, 12:48 PM
Unknown Object (File)
Wed, Nov 13, 12:40 PM
Unknown Object (File)
Oct 21 2024, 8:52 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