HomePhabricator
Diffusion Comm cda420d08c5d

Implement prekey lifecycle on the keyserver

Description

Implement prekey lifecycle on the keyserver

Summary: This differential implements prekey lifecycle on the keyserver that is compliant with what was established during crypto sync on 20th April 2023.

Test Plan:
Create fresh olm accounts in the database (by changin db version for example and running migrations). Then examine the contents of pickled accounts strings. Change cron to run every minute or every second. Continue examining pickled accounts strings in the database. Make sure they
change once and only once. It means that prekey absence is correctly detected on first cron run, but sbusequents runs do not change anything since it hasn't been enough time since the last run.

Reviewers: ashoat, jon

Reviewed By: ashoat

Subscribers: jon, anunay, ashoat

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

Details

Provenance
marcinAuthored on Apr 21 2023, 8:10 AM
Reviewer
ashoat
Differential Revision
D7570: Implement prekey lifecycle on the keyserver
Parents
rCOMM62dfab9a7bb1: Introduce methods in CommCoreModule to initialize olm session for notifications.
Branches
Unknown
Tags
Unknown