Page MenuHomePhabricator

[keyserver] call uploadSecondaryDeviceKeysAndLogIn
ClosedPublic

Authored by varun on May 21 2024, 11:57 AM.
Tags
None
Referenced Files
F3374048: D12161.id40649.diff
Tue, Nov 26, 1:29 PM
Unknown Object (File)
Sat, Nov 23, 3:31 PM
Unknown Object (File)
Fri, Nov 22, 7:34 PM
Unknown Object (File)
Sun, Nov 10, 1:38 AM
Unknown Object (File)
Fri, Nov 8, 10:26 AM
Unknown Object (File)
Fri, Nov 8, 10:20 AM
Unknown Object (File)
Thu, Nov 7, 1:39 PM
Unknown Object (File)
Oct 23 2024, 11:46 AM
Subscribers

Details

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.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

keyserver/src/socket/tunnelbroker-socket.js
167 ↗(On Diff #40497)

sorry ignore this log, will remove

172 ↗(On Diff #40497)

sorry ignore this log, will remove

Makes sense to me

keyserver/src/utils/olm-utils.js
137 ↗(On Diff #40497)

Nit: space here but none in the previous call

164 ↗(On Diff #40497)

Typo (notfi)

This revision is now accepted and ready to land.May 22 2024, 2:20 AM
keyserver/src/socket/tunnelbroker-socket.js
165

this gets removed later in stack