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)
Wed, Mar 5, 2:08 AM
Unknown Object (File)
Feb 16 2025, 6:31 PM
Unknown Object (File)
Feb 16 2025, 6:31 PM
Unknown Object (File)
Feb 16 2025, 6:31 PM
Unknown Object (File)
Feb 16 2025, 6:27 PM
Unknown Object (File)
Feb 1 2025, 8:52 AM
Unknown Object (File)
Jan 14 2025, 8:00 AM
Unknown Object (File)
Jan 5 2025, 8:36 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