Page MenuHomePhabricator

[lib] Don't invalidate a session if the recovery is cancelled
ClosedPublic

Authored by ashoat on Mar 31 2024, 7:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 3, 6:12 AM
Unknown Object (File)
Thu, Apr 3, 3:17 AM
Unknown Object (File)
Wed, Apr 2, 1:31 PM
Unknown Object (File)
Tue, Apr 1, 2:42 AM
Unknown Object (File)
Thu, Mar 27, 3:26 AM
Unknown Object (File)
Feb 18 2025, 6:51 PM
Unknown Object (File)
Feb 18 2025, 6:51 PM
Unknown Object (File)
Feb 18 2025, 6:51 PM
Subscribers
None

Details

Summary

Discovered this issue while testing keyserverAuth-based recovery. We should wait until a non-cancelled recovery fails in order to invalidate the session.

I suspect I hadn't encountered it in prior testing because before introducing keyserverAuth to the dep list, the recovery was unlikely to get cancelled before it ran its course.

Test Plan

Confirm that a cancelled keyserver session recovery doesn't invalidate the session

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable