Page MenuHomePhabricator

[web] mark otks as published before attempting to upload keys to identity
ClosedPublic

Authored by varun on Tue, Jun 18, 10:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 29, 3:55 PM
Unknown Object (File)
Sat, Jun 29, 2:18 PM
Unknown Object (File)
Fri, Jun 28, 4:47 PM
Unknown Object (File)
Fri, Jun 28, 10:24 AM
Unknown Object (File)
Thu, Jun 27, 4:45 PM
Unknown Object (File)
Thu, Jun 27, 2:15 PM
Unknown Object (File)
Thu, Jun 27, 12:46 PM
Unknown Object (File)
Thu, Jun 27, 12:46 PM
Subscribers

Details

Summary

we already mark the otks as published before calling uploadOneTimeKeys, but we need to mark them as published before calling uploadKeysForRegisteredDeviceAndLogIn

Depends on D12466

note that we don't upload OTKs on normal login anymore

Test Plan

disabled the uploadKeysForRegisteredDeviceAndLogIn RPC and confirmed that the OTKs were still marked as published

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat edited reviewers, added: kamil, marcin; removed: ashoat.
ashoat added subscribers: kamil, marcin.

This looks good to me, but to be honest I'm not very familiar with this code, so would be great if either @kamil or @marcin could take a look as well

This revision is now accepted and ready to land.Wed, Jun 19, 6:09 AM