-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Missing resident signature in send_join
response
#16717
Comments
Good spot---thank you. Synapse's response comes from: synapse/synapse/federation/federation_server.py Lines 737 to 739 in 70b503f
Which calls |
I would guess we need code like synapse/synapse/federation/federation_server.py Lines 943 to 950 in 70b503f
|
Oh, actually we do have this logic: but we only seem to provide a signature when the /send_join is a restricted join (i.e. via a space): synapse/synapse/federation/federation_server.py Lines 925 to 932 in 70b503f
It might be that the text of the spec is misleading here? But then again, I don't understand why a nonrestricted join wouldn't require a signature either? |
Description
About the
event
field in thesend_join
response, the spec says:However, it seems Synapse is not including its own signature in
send_join
responses.This is an issue for Conduit, which requires this signature to be present
Steps to reproduce
Send this request to matrix.org:
and read the response:
Notice there is only the joining HS's signature and not matrix.org's.
Homeserver
matrix.org
Synapse Version
both on
1.95.1
and1.96.1 (b=matrix-org-hotfixes,9c3b906b3a)
Installation Method
I don't know
Database
postgresql
Workers
Multiple workers
Platform
n/a
Configuration
No response
Relevant log output
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: