summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorShay <shaysquared@gmail.com>2021-10-28 10:27:17 -0700
committerGitHub <noreply@github.com>2021-10-28 10:27:17 -0700
commite002faee01615c1976437af28f66544c5f2eed84 (patch)
treed5517e76ad3a030d8e2011aa1b8a144cb8a246e6 /changelog.d
parentAdd a ModuleApi method to update a user's membership in a room (#11147) (diff)
downloadsynapse-e002faee01615c1976437af28f66544c5f2eed84.tar.xz
Fetch verify key locally rather than trying to do so over federation if origin and host are the same. (#11129)
* add tests for fetching key locally

* add logic to check if origin server is same as host and fetch verify key locally rather than over federation

* add changelog

* slight refactor, add docstring, change changelog entry

* Make changelog entry one line

* remove verify_json_locally and push locality check to process_request, add function process_request_locally

* remove leftover code reference

* refactor to add common call to 'verify_json and associated handling code

* add type hint to process_json

* add some docstrings + very slight refactor
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/11129.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11129.bugfix b/changelog.d/11129.bugfix
new file mode 100644
index 0000000000..5e9aa538ec
--- /dev/null
+++ b/changelog.d/11129.bugfix
@@ -0,0 +1 @@
+Fix long-standing bug where verification requests could fail in certain cases if whitelist was in place but did not include your own homeserver.
\ No newline at end of file