Page MenuHomePhabricator

[keyserver] call uploadSecondaryDeviceKeysAndLogIn
ClosedPublic

Authored by varun on May 21 2024, 11:57 AM.
Tags
None
Referenced Files
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
Unknown Object (File)
Oct 15 2024, 4:16 PM
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
Branch
hackathon (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

keyserver/src/socket/tunnelbroker-socket.js
167

sorry ignore this log, will remove

172

sorry ignore this log, will remove

Makes sense to me

keyserver/src/utils/olm-utils.js
137

Nit: space here but none in the previous call

164

Typo (notfi)

This revision is now accepted and ready to land.May 22 2024, 2:20 AM
keyserver/src/socket/tunnelbroker-socket.js
165 ↗(On Diff #40649)

this gets removed later in stack