introduce new db method to delete all one-time keys for a given userID + deviceID. call this method on logout
https://linear.app/comm/issue/ENG-7920/one-time-keys-are-not-deleted-during-logout-delete-rpcs
Differential D11755
[identity] delete otk data on logout varun on Apr 23 2024, 8:37 PM. Authored by Tags None Referenced Files
Details
introduce new db method to delete all one-time keys for a given userID + deviceID. call this method on logout https://linear.app/comm/issue/ENG-7920/one-time-keys-are-not-deleted-during-logout-delete-rpcs logged out on simulator and confirmed on staging that the OTKs for that device were deleted
Diff Detail
Event TimelineComment Actions The limit logic inside get_one_time_keys could be a bit simplified but it's not worth spending time on it |