Page MenuHomePhabricator

[keyserver] Throw an exception when trying to create a DM on a non-auth keyserver
ClosedPublic

Authored by tomek on May 28 2024, 5:53 AM.
Tags
None
Referenced Files
F3572050: D12229.id40748.diff
Sat, Dec 28, 10:46 AM
F3572049: D12229.id40741.diff
Sat, Dec 28, 10:46 AM
F3572048: D12229.id40689.diff
Sat, Dec 28, 10:46 AM
F3572039: D12229.id.diff
Sat, Dec 28, 10:46 AM
F3572031: D12229.diff
Sat, Dec 28, 10:46 AM
Unknown Object (File)
Nov 24 2024, 3:10 AM
Unknown Object (File)
Nov 24 2024, 12:35 AM
Unknown Object (File)
Nov 24 2024, 12:03 AM
Subscribers

Details

Summary

Currently the DMs are hosted on the authoritative keyserver and can't be created on non-auth ones.

https://linear.app/comm/issue/ENG-7845/stop-creating-dms-on-non-authoritative-keyservers

Depends on D12228

Test Plan

Tested this by removing authoritative keyserver check when creating threads while setting up a new db - this causes an attempt to create a thread in GENESIS. On authoritative keyserver it works. On a non-auth keyserver an exception is thrown - as expected.

Diff Detail

Repository
rCOMM Comm
Branch
genesis
Lint
No Lint Coverage
Unit
No Test Coverage