HomePhabricator
Diffusion Comm aa859aa231e3

[keyserver] call uploadSecondaryDeviceKeysAndLogIn

Description

[keyserver] call uploadSecondaryDeviceKeysAndLogIn

Summary:
Depends on D12155

after device list has been updated, secondary device should get a nonce from the keyserver, sign it, and then log in to identity

i also took this chance to introduce a helper function to get the device key upload

Test Plan:
successfully logged in to identity and got an access token

checked that the device key upload contents were all present and looked correct. the one-time keys are marked as published in the helper function, but i will have to mark the prekeys as published after the identity service call in the next diff.

Reviewers: bartek, marcin, kamil, ashoat

Reviewed By: ashoat

Subscribers: tomek

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

Details

Provenance
varunAuthored on May 21 2024, 11:53 AM
Reviewer
ashoat
Differential Revision
D12161: [keyserver] call uploadSecondaryDeviceKeysAndLogIn
Parents
rCOMM97447f13c288: [keyserver] uploadSecondaryDeviceKeysAndLogIn client method
Branches
Unknown
Tags
Unknown