diff options
author | David Baker <dave@matrix.org> | 2019-04-05 10:46:16 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2019-04-05 10:46:16 +0100 |
commit | 1040e9b6486b8b043d74edf4883711106d1e86ac (patch) | |
tree | f32eaac42eca55a12fc982bd831cb204b44b57cc /synapse/api/errors.py | |
parent | Add config option to block users from looking up 3PIDs (#5010) (diff) | |
download | synapse-1040e9b6486b8b043d74edf4883711106d1e86ac.tar.xz |
Add some logging to 3pid invite sig verification
I had to add quite a lot of logging to diagnose a problem with 3pid invites - we only logged the one failure which isn't all that informative. NB. I'm not convinced the logic of this loop is right: I think it should just accept a single valid signature from a trusted source rather than fail if *any* signature is invalid. Also it should probably not skip the rest of middle loop if a check fails? However, I'm deliberately not changing the logic here.
Diffstat (limited to 'synapse/api/errors.py')
0 files changed, 0 insertions, 0 deletions