HomePhabricator
Diffusion Comm f4c627481d6e

Implement endpoint on the keyserver to get one time keys and prekey to…

Description

Implement endpoint on the keyserver to get one time keys and prekey to initialize olmsession

Summary: This differential implements an endpoint on the keyserver to get data necessary to initialize olm session with the client.

Test Plan:
Call commCoreModule.initializeCryptoAccount() (it is called in log-in-panel via nativeLogInExtraInfoSelector). This ensures notifications session is initialized. Then call this endpoint to get necessary data to initialize sesion for notifications. Pass obtained data to
commCoreModule.initializeNotificationsSession().

Reviewers: ashoat, jon

Reviewed By: ashoat

Subscribers: anunay, ashoat

Differential Revision: https://phab.comm.dev/D7586

Details

Provenance
marcinAuthored on Apr 24 2023, 6:39 AM
Reviewer
ashoat
Differential Revision
D7586: Implement endpoint on the keyserver to get one time keys and prekey to initialize olmsession
Parents
rCOMMcda420d08c5d: Implement prekey lifecycle on the keyserver
Branches
Unknown
Tags
Unknown