summary refs log tree commit diff
path: root/synapse/storage/event_federation.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-06-10 10:33:00 +0100
committerGitHub <noreply@github.com>2019-06-10 10:33:00 +0100
commit88d7182adaef8711bf3cc80ff604e566e517b6e6 (patch)
treefba8485a8869449496bc148a5a006b7dfbb6a67f /synapse/storage/event_federation.py
parent1.0.0rc1 (diff)
downloadsynapse-88d7182adaef8711bf3cc80ff604e566e517b6e6.tar.xz
Improve startup checks for insecure notary configs (#5392)
It's not really a problem to trust notary responses signed by the old key so
long as we are also doing TLS validation.

This commit adds a check to the config parsing code at startup to check that
we do not have the insecure matrix.org key without tls validation, and refuses
to start without it.

This allows us to remove the rather alarming-looking warning which happens at
runtime.

Diffstat (limited to 'synapse/storage/event_federation.py')
0 files changed, 0 insertions, 0 deletions