forked-synapse/synapse/federation
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
..
sender Additional constants for EDU types. (#12884) 2022-05-27 07:14:36 -04:00
transport Additional constants for EDU types. (#12884) 2022-05-27 07:14:36 -04:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
federation_base.py Improve logging when signature checks fail (#12925) 2022-05-31 23:32:56 +01:00
federation_client.py Improve logging when signature checks fail (#12925) 2022-05-31 23:32:56 +01:00
federation_server.py Improve logging when signature checks fail (#12925) 2022-05-31 23:32:56 +01:00
persistence.py Remove log_function and its uses (#11761) 2022-01-18 13:06:04 +00:00
send_queue.py Spread out sending device lists to remote hosts (#12132) 2022-03-04 11:48:15 +00:00
units.py Convert Transaction and Edu object to attrs (#10542) 2021-08-06 09:39:59 -04:00