Page MenuHomePhabricator

[lib] Factor out innerPerformAuth for use in keyserver session recovery
ClosedPublic

Authored by ashoat on Mar 31 2024, 7:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 12:56 AM
Unknown Object (File)
Sat, Nov 23, 10:45 PM
Unknown Object (File)
Sat, Nov 23, 8:49 PM
Unknown Object (File)
Tue, Nov 12, 3:07 PM
Unknown Object (File)
Tue, Nov 12, 2:39 PM
Unknown Object (File)
Tue, Nov 12, 2:29 PM
Unknown Object (File)
Tue, Nov 12, 10:48 AM
Unknown Object (File)
Fri, Nov 1, 10:33 PM
Subscribers
None

Details

Summary

We want to be able to perform a keyserver session recovery using the new identity service-based keyserver auth.

This diff factors out a new function called innerPerformAuth, which will be used within innerPerformRecovery in the next diff.

Depends on D11498

Test Plan

Tested in combination with later diffs:

  1. Set up multi-keyserver environment following Notion doc
  2. Test native keyserver recovery via keyserverAuth by deleting a cookie in MariaDB console
  3. Hardcode incorrect userID, try same test as 2, and confirm that it fails
  4. Test web keyserver recovery in the same way as in 2
  5. Test incorrect userID on web in the same way as in 3

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage