synapse-product/synapse
Richard van der Hoff f0aec0abef
Improve logging when signature checks fail (#12925)
* Raise a dedicated `InvalidEventSignatureError` from `_check_sigs_on_pdu`

* Downgrade logging about redactions to DEBUG

this can be very spammy during a room join, and it's not very useful.

* Raise `InvalidEventSignatureError` from `_check_sigs_and_hash`

... and, more importantly, move the logging out to the callers.

* changelog
2022-05-31 23:32:56 +01:00
..
_scripts hash_password: raise an error if no config file is specified (#12789) 2022-05-19 13:03:13 +00:00
api Fix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12923) 2022-05-31 08:42:18 +01:00
app Remove groups replication code. (#12900) 2022-05-31 13:04:08 -04:00
appservice Remove backing code for groups/communities (#12558) 2022-05-26 09:04:34 -04:00
config Add config options for media retention (#12732) 2022-05-31 16:35:29 +00:00
crypto Bump black and click versions (#12320) 2022-04-05 11:04:28 +01:00
events Merge branch 'master' into develop 2022-05-31 14:48:22 +01:00
federation Improve logging when signature checks fail (#12925) 2022-05-31 23:32:56 +01:00
handlers Faster room joins: Resume state re-syncing after a Synapse restart (#12813) 2022-05-31 15:15:08 +00:00
http Synapse 1.60.0rc2 (2022-05-27) 2022-05-27 12:07:18 +01:00
logging Easy type hints in synapse.logging.opentracing (#12894) 2022-05-27 11:17:33 +01:00
metrics Easy type hints in synapse.logging.opentracing (#12894) 2022-05-27 11:17:33 +01:00
module_api Merge branch 'master' into develop 2022-05-31 14:48:22 +01:00
push Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
replication Remove groups replication code. (#12900) 2022-05-31 13:04:08 -04:00
res Fix Jinja templating error when generating thumbnail URLs. (#12510) 2022-04-20 12:03:03 -04:00
rest Add config options for media retention (#12732) 2022-05-31 16:35:29 +00:00
server_notices Add StreamKeyType class and replace string literals with constants (#12567) 2022-05-16 15:35:31 +00:00
spam_checker_api Fix import in module_api module and docs on the new check_event_for_spam signature (#12918) 2022-05-31 12:04:53 +02:00
state Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
static Display an error page during failure of fallback UIA. (#10561) 2021-08-18 08:13:35 -04:00
storage Faster room joins: Resume state re-syncing after a Synapse restart (#12813) 2022-05-31 15:15:08 +00:00
streams Rework stream token to stop caring about groups. (#12897) 2022-05-31 07:42:50 -04:00
util Fix caching behavior for relations push rules. (#12859) 2022-05-25 07:49:54 -04:00
__init__.py Dump setuptools; correct pyproject version number (#12478) 2022-04-20 17:33:20 +01:00
event_auth.py Add a new room version for MSC3787's knock+restricted join rule (#12623) 2022-05-17 10:41:39 +00:00
notifier.py Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
server.py Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
types.py Rework stream token to stop caring about groups. (#12897) 2022-05-31 07:42:50 -04:00
visibility.py Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00