HomePhabricator
Diffusion Comm b3a783e613e6

[keyserver] Replace `public_key` column with `signed_identity_keys` in…

Tags
None
Referenced Files
F404511: edb343.png
Feb 27 2023, 5:29 PM
File Not Attached
Subscribers
None

Description

[keyserver] Replace public_key column with signed_identity_keys in cookies table

Summary: Remove public_key column from the cookies table and replace with signed_identity_keys which will hold primary + notification (ed25519, curve25519) public key pairs (stringified payload with signature).

Test Plan:
Migration:
Run the migration and see that DB is as expected:

edb343.png (1×3 px, 736 KB)

Create DB:
Close reading, made sure to match social_proof line exactly.

Reviewers: ashoat, tomek

Reviewed By: ashoat

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