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)
Mon, Dec 16, 8:38 AM
Unknown Object (File)
Mon, Dec 16, 8:38 AM
Unknown Object (File)
Mon, Dec 16, 8:37 AM
Unknown Object (File)
Mon, Dec 16, 7:43 AM
Unknown Object (File)
Mon, Dec 9, 7:31 AM
Unknown Object (File)
Nov 24 2024, 12:56 AM
Unknown Object (File)
Nov 23 2024, 10:45 PM
Unknown Object (File)
Nov 23 2024, 8:49 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
Lint Not Applicable
Unit
Tests Not Applicable