Page MenuHomePhabricator

[keyserver] Replace extendCookieLifespan with updateCookie
ClosedPublic

Authored by ashoat on Oct 19 2023, 2:03 PM.
Tags
None
Referenced Files
F3386630: D9548.diff
Fri, Nov 29, 5:27 AM
Unknown Object (File)
Tue, Nov 19, 2:51 PM
Unknown Object (File)
Wed, Oct 30, 6:52 AM
Unknown Object (File)
Wed, Oct 30, 6:52 AM
Unknown Object (File)
Wed, Oct 30, 6:52 AM
Unknown Object (File)
Wed, Oct 30, 6:50 AM
Unknown Object (File)
Oct 8 2024, 11:13 AM
Unknown Object (File)
Sep 26 2024, 7:00 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
Branch
ashoat/bcrypt
Lint
No Lint Coverage
Unit
No Test Coverage