Page MenuHomePhabricator

[keyserver] Replace extendCookieLifespan with updateCookie
ClosedPublic

Authored by ashoat on Oct 19 2023, 2:03 PM.
Tags
None
Referenced Files
F3387063: D9548.id32263.diff
Fri, Nov 29, 7:30 AM
F3386630: D9548.diff
Fri, Nov 29, 5:27 AM
Unknown Object (File)
Tue, Nov 19, 2:51 PM
Unknown Object (File)
Oct 30 2024, 6:52 AM
Unknown Object (File)
Oct 30 2024, 6:52 AM
Unknown Object (File)
Oct 30 2024, 6:52 AM
Unknown Object (File)
Oct 30 2024, 6:50 AM
Unknown Object (File)
Oct 8 2024, 11:13 AM
Subscribers

Details

Summary

In the next diff this function will be used to replace a bcrypt hash with a sha256 one. I want to do that in this function to avoid introducing any new SQL queries. extendCookieLifespan already runs very frequently, so it's a good place to make this change to ensure that we quickly migrate to sha256 hashes.

Ahead of that change, this diff renames the function and updates it to take a full Viewer parameter.

Depends on D9546

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable