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)
Mon, Dec 23, 4:17 PM
Unknown Object (File)
Mon, Dec 23, 4:17 PM
Unknown Object (File)
Mon, Dec 23, 4:17 PM
Unknown Object (File)
Mon, Dec 23, 4:17 PM
Unknown Object (File)
Mon, Dec 23, 4:17 PM
Unknown Object (File)
Wed, Dec 11, 5:06 PM
Unknown Object (File)
Sun, Dec 8, 3:08 PM
Unknown Object (File)
Wed, Dec 4, 5:55 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
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #40422)

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.