forked-synapse/synapse/config
Richard van der Hoff 88d7182ada
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.
2019-06-10 10:33:00 +01:00
..
__init__.py ConsentResource to gather policy consent from users 2018-05-15 15:11:59 +01:00
__main__.py Fix synapse.config.__main__ on python 3 (#4356) 2019-01-08 10:03:09 +11:00
_base.py Use yaml safe_load 2019-03-22 10:20:17 +00:00
api.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
appservice.py Use yaml safe_load 2019-03-22 10:20:17 +00:00
captcha.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
cas.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
consent_config.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
database.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
emailconfig.py Add ability to perform password reset via email without trusting the identity server (#5377) 2019-06-06 17:34:07 +01:00
groups.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
homeserver.py Room Statistics (#4338) 2019-05-21 11:36:50 -05:00
jwt_config.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
key.py Improve startup checks for insecure notary configs (#5392) 2019-06-10 10:33:00 +01:00
logger.py Use yaml safe_load 2019-03-22 10:20:17 +00:00
metrics.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
password_auth_providers.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
password.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
push.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
ratelimiting.py Make all the rate limiting options more consistent (#5181) 2019-05-15 12:06:04 -05:00
registration.py Move delta from +10% to -10% 2019-05-31 11:09:39 +01:00
repository.py more config comment updates 2019-05-03 15:50:59 +01:00
room_directory.py Fix up config comments 2019-03-20 14:24:53 +00:00
saml2_config.py Remove periods from copyright headers (#5046) 2019-04-11 17:08:13 +01:00
server_notices_config.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
server.py Set default room version to v4. (#5379) 2019-06-06 20:13:47 +01:00
spam_checker.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
stats.py Room Statistics (#4338) 2019-05-21 11:36:50 -05:00
tls.py Merge branch 'rav/fix_custom_ca' into rav/enable_tls_verification 2019-06-05 16:32:35 +01:00
user_directory.py Fix docs on resetting the user directory (#5036) 2019-05-28 20:54:01 -05:00
voip.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
workers.py Correctly handle all command line options 2019-03-14 13:32:14 +00:00