Workaround for error when fetching notary's own key (#6620)
* Kill off redundant SynapseRequestFactory We already get the Site via the Channel, so there's no need for a dedicated RequestFactory: we can just use the right constructor. * Workaround for error when fetching notary's own key As a notary server, when we return our own keys, include all of our signing keys in verify_keys. This is a workaround for #6596.
Showing
- changelog.d/6620.misc 1 addition, 0 deletionschangelog.d/6620.misc
- synapse/rest/key/v2/remote_key_resource.py 22 additions, 8 deletionssynapse/rest/key/v2/remote_key_resource.py
- tests/rest/key/v2/test_remote_key_resource.py 130 additions, 0 deletionstests/rest/key/v2/test_remote_key_resource.py
- tests/unittest.py 10 additions, 1 deletiontests/unittest.py
Loading
Please register or sign in to comment