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)
Oct 19 2024, 5:04 AM
Unknown Object (File)
Oct 18 2024, 11:42 PM
Unknown Object (File)
Oct 18 2024, 9:11 PM
Unknown Object (File)
Oct 18 2024, 9:32 AM
Unknown Object (File)
Oct 18 2024, 6:30 AM
Unknown Object (File)
Oct 18 2024, 4:41 AM
Unknown Object (File)
Oct 17 2024, 2:11 PM
Unknown Object (File)
Oct 14 2024, 4:27 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.