Page MenuHomePhabricator

[identity] delete otk data on logout
ClosedPublic

Authored by varun on Tue, Apr 23, 8:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 4:17 PM
Unknown Object (File)
Thu, May 2, 12:37 PM
Unknown Object (File)
Thu, May 2, 2:40 AM
Unknown Object (File)
Tue, Apr 30, 2:23 PM
Unknown Object (File)
Mon, Apr 29, 12:30 AM
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