Page MenuHomePhabricator

[identity] delete otk data on logout
ClosedPublic

Authored by varun on Apr 23 2024, 8:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 20, 1:42 AM
Unknown Object (File)
Sat, Apr 19, 10:02 PM
Unknown Object (File)
Sat, Apr 19, 6:48 PM
Unknown Object (File)
Fri, Apr 18, 10:33 PM
Unknown Object (File)
Fri, Apr 11, 5:33 AM
Unknown Object (File)
Wed, Apr 9, 12:33 AM
Unknown Object (File)
Tue, Apr 8, 8:51 PM
Unknown Object (File)
Tue, Apr 8, 8:24 PM
Subscribers

Details

Summary

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

Test Plan

logged out on simulator and confirmed on staging that the OTKs for that device were deleted

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable