HomePhabricator
Diffusion Comm 0b462245d313

Populate keyserver_olm_accounts table

Description

Populate keyserver_olm_accounts table

Summary:
This differential populates keyserver_olm_account table with primary and notifications olm accounts. Methods to create pickled olm account and unpickle pickled olm account are implemented as well. Pickled olm account creation implementation is take from the following diff:
https://phab.comm.dev/D3209. It might be usefull for reviewers to take a look at this diff to potentially avoid questions that have already been answered.

Test Plan: Repeat test plan for the parent diff. Additionally using database inspection tool of choice examine the content of keyserver_olm_accounts table. Ensure there are two different accounts there that one of which has is_primary set to TRUE, while the other set to FASLE.

Reviewers: tomek, atul, bartek, inka, jon, ashoat

Reviewed By: ashoat

Subscribers: ashoat

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

Details

Provenance
marcinAuthored on Apr 21 2023, 4:25 AM
Reviewer
ashoat
Differential Revision
D7561: Populate keyserver_olm_accounts table
Parents
rCOMM97d33c8d6792: Add table for keyserver olm accounts
Branches
Unknown
Tags
Unknown