Page MenuHomePhabricator

[keyserver] check if there are any unpublished prekeys and publish them during rotation
ClosedPublic

Authored by varun on Jun 14 2024, 9:40 AM.
Tags
None
Referenced Files
F3273517: D12442.id41341.diff
Sat, Nov 16, 6:09 AM
Unknown Object (File)
Fri, Nov 1, 1:29 PM
Unknown Object (File)
Sun, Oct 20, 2:07 PM
Unknown Object (File)
Sun, Oct 20, 2:07 PM
Unknown Object (File)
Sun, Oct 20, 2:06 PM
Unknown Object (File)
Sun, Oct 20, 2:05 PM
Unknown Object (File)
Sep 28 2024, 10:25 AM
Unknown Object (File)
Sep 4 2024, 3:03 PM
Subscribers

Details

Summary

during prekey rotation on keyserver, check if we have an unpublished prekey, and if we do, upload and mark them as published, then return

this matches the rotation logic on native

Depends on D12441

Resolves https://linear.app/comm/issue/ENG-6490/resolve-discrepancy-between-prekey-rotation-logics-on-native-and-the

Test Plan

called generate_prekey() to generate new content and notif prekeys. confirmed that the if condition was satisfied and the newly generated prekeys were uploaded to identity and marked as published

Diff Detail

Repository
rCOMM Comm
Branch
webping (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage