Page MenuHomePhabricator

[lib] creating `olm` session with device
ClosedPublic

Authored by kamil on May 20 2024, 4:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 20, 5:29 PM
Unknown Object (File)
Thu, Jun 20, 5:26 PM
Unknown Object (File)
Thu, Jun 20, 4:56 PM
Unknown Object (File)
Wed, Jun 19, 9:49 AM
Unknown Object (File)
Tue, Jun 18, 9:03 PM
Unknown Object (File)
Wed, Jun 12, 7:48 AM
Unknown Object (File)
Mon, Jun 10, 10:35 AM
Unknown Object (File)
Sun, Jun 9, 11:24 PM
Subscribers

Details

Summary

Method to create a session with one peer.

It looks similar but differs from createOlmSessionsWithOwnDevices and trying to duplicate could make the code more complex - additionally createOlmSessionsWithOwnDevices is only for testing and will be removed

Depends on D12130

Test Plan

Call method and test if session creation works, in case of failure error is thrown

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][native] creating `olm` session with device to [lib] creating `olm` session with device.
kamil published this revision for review.May 21 2024, 1:27 AM
kamil edited the summary of this revision. (Show Details)
kamil added inline comments.
lib/utils/crypto-utils.js
168–170

at the current state it's helpful to debug but we should remove it soon as this could cause spam in the future

This revision is now accepted and ready to land.May 23 2024, 6:40 AM
This revision was automatically updated to reflect the committed changes.