Page MenuHomePhabricator

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

Authored by kamil on Mar 28 2024, 10:19 AM.
Tags
None
Referenced Files
F3359524: D11445.id38656.diff
Sun, Nov 24, 9:33 AM
F3359099: D11445.diff
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)
Sat, Oct 26, 6:09 AM
Unknown Object (File)
Oct 11 2024, 9:36 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
No Lint Coverage
Unit
No Test Coverage

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
native/crypto/olm-api.js
21–27

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