Page MenuHomePhabricator

[web] update `encrypt` method to return `EncryptedData`
ClosedPublic

Authored by kamil on Mar 28 2024, 10:19 AM.
Tags
None
Referenced Files
F3380779: D11445.id38473.diff
Thu, Nov 28, 2:06 AM
Unknown Object (File)
Sun, Nov 24, 9:33 AM
Unknown Object (File)
Sun, Nov 24, 7:08 AM
Unknown Object (File)
Sat, Nov 16, 5:18 PM
Unknown Object (File)
Wed, Nov 13, 12:52 PM
Unknown Object (File)
Wed, Nov 13, 12:52 PM
Unknown Object (File)
Wed, Nov 13, 12:48 PM
Unknown Object (File)
Oct 26 2024, 6:09 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.

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 retitled this revision from [web] update web `encrypt` method to return `EncryptedData` to [web] update `encrypt` method to return `EncryptedData`.Mar 29 2024, 5:42 AM
kamil edited the summary of this revision. (Show Details)
kamil published this revision for review.Mar 29 2024, 5:44 AM
kamil added inline comments.
lib/types/crypto-types.js
117–120 ↗(On Diff #38473)
native/crypto/olm-api.js
21–27 ↗(On Diff #38473)

this is updated in next diff - added here to pass CI

This revision is now accepted and ready to land.Mar 29 2024, 6:27 AM