Page MenuHomePhabricator

[keyserver] Don't create a thread with an admin when creating a new account
ClosedPublic

Authored by tomek on May 28 2024, 5:43 AM.
Tags
None
Referenced Files
F3572053: D12228.id40747.diff
Sat, Dec 28, 10:46 AM
F3572052: D12228.id40740.diff
Sat, Dec 28, 10:46 AM
F3572051: D12228.id40688.diff
Sat, Dec 28, 10:46 AM
F3572040: D12228.id.diff
Sat, Dec 28, 10:46 AM
F3572030: D12228.diff
Sat, Dec 28, 10:46 AM
Unknown Object (File)
Thu, Dec 26, 12:52 AM
Unknown Object (File)
Thu, Dec 5, 4:23 PM
Unknown Object (File)
Fri, Nov 29, 12:10 AM
Subscribers

Details

Summary

On a non-auth keyserver we don't have access to GENESIS and can't create a thread within it.

https://linear.app/comm/issue/ENG-7844/dont-create-a-thread-with-an-admin-when-creating-a-new-account

Depends on D12227

Test Plan

Check if the private thread is created when setting up an authoritative keyserver. Check if the thread isn't created on a non-auth keyserver.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek requested review of this revision.May 28 2024, 6:00 AM
keyserver/src/creators/account-creator.js
196 ↗(On Diff #40688)

Why do we always create a private thread? Does the user need one private thread per keyserver?

Eventually this will be client-local, but for now I think we should only generate it on the authoritative keyserver.

keyserver/src/creators/account-creator.js
196 ↗(On Diff #40688)

Ok, that makes sense - will make it conditional.

Don't create a private thread

This revision is now accepted and ready to land.May 29 2024, 7:19 AM