[keyserver] Store primaryIdentityPublicKey in public_key column of cookies table
Summary:
Context: https://linear.app/comm/issue/ENG-1967/update-clients-to-generate-a-publicprivate-keypair-when-authing
Basically pass the primaryIdentityPublicKey contained in the SIWE message statement to the cookie creation step in processSIWEAccountCreation(...).
Depends on D6133
Test Plan:
- public key included in message signing request:
- public key stored in public_key column of cookies table (look at last row):
Reviewers: ashoat, tomek
Reviewed By: ashoat
Differential Revision: https://phab.comm.dev/D6134