-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Remove hardcoded defaults of matrix.org and vector.im in configuration #6087
Comments
To clarify: these options have always had defaults in the python (see d624e2a#diff-7e17dede94ec13fbd96119ef254b8aa4R65 for example: note that the settings used there were used as defaults as well as providing a basis for the sample config). The difficulty with making them required options now is that it will break everybody's existing configurations. I guess we'll have to do something phased where we deprecate the default (and omit a warning about it) for now, and later we can remove the default altogether. |
this one is deprecated as of the next release of synapse anyway. |
@richvdh, @neilisfragile, given the only item then actually impacted by this is the notary server option, i suggest we wrap this together with #6088, and:
|
Currently we have a few fields which have matrix.org or vector.im hardcoded as the configuration defaults in synapse. This was a deliberate choice a while back (i can't find the PR) where we moved configs from being in the homeserver.yaml into config/*.py so that by default all of homeserver.yaml is commented out... but it is problematic from a privacy perspective, given it privileges matrix.org & vector.im if the default config silently uses them. This is particularly true for minimal homeserver.yaml files where the comments have been removed, which then silently prefer matrix.org.
From a quick grep, this impacts:
We need to figure out how to remove the hardcoded configs.
My suggestion would be to
Alternatively, we could leave them where they are, but loudly warn the user on stderr about it (Which is the temporary solution we're adopting for the specific issue of warning about matrix.org being the default notary server)
The text was updated successfully, but these errors were encountered: