Page MenuHomePhabricator

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

Authored by varun on Jun 18 2024, 10:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 4:56 AM
Unknown Object (File)
Oct 12 2024, 11:43 AM
Unknown Object (File)
Oct 12 2024, 11:43 AM
Unknown Object (File)
Oct 12 2024, 11:43 AM
Unknown Object (File)
Oct 12 2024, 11:43 AM
Unknown Object (File)
Sep 7 2024, 1:03 AM
Unknown Object (File)
Sep 6 2024, 6:18 PM
Unknown Object (File)
Sep 2 2024, 4:05 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.Jun 19 2024, 6:09 AM