Page MenuHomePhabricator

[keyserver] Replace extendCookieLifespan with updateCookie
ClosedPublic

Authored by ashoat on Oct 19 2023, 2:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 5, 8:36 PM
Unknown Object (File)
Sun, Jan 5, 8:36 PM
Unknown Object (File)
Sun, Jan 5, 8:36 PM
Unknown Object (File)
Sun, Jan 5, 8:33 PM
Unknown Object (File)
Thu, Dec 26, 3:26 AM
Unknown Object (File)
Dec 1 2024, 11:50 AM
Unknown Object (File)
Nov 30 2024, 12:13 AM
Unknown Object (File)
Nov 29 2024, 12:15 PM
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