This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update the MSC3083 support to verify if joins are from an authorized server #10254
Update the MSC3083 support to verify if joins are from an authorized server #10254
Changes from 8 commits
6a0dd93
cb8aaed
f9bfc19
fd37e76
59de557
2a074d3
d2fdc1b
441a9bb
aab6ae3
111bbcf
6d7e981
80ce8f8
1a8f171
5fbc307
fda81ad
13cfdd7
0da003c
2c6a34c
6b00541
09599a2
f90db62
6997b6a
c71f2d6
83d95a0
9cddd4b
789fdc1
6cf7890
ded8caa
110fb19
84d21d6
858fb10
bca8e73
d8eb84e
9f497a0
fbe0038
b3a4b65
8b2cac2
05e35ce
a588b7b
381cc8e
c82c0ce
0437602
3549b5e
9970af8
5aa985d
8c82dcf
4cb62e8
ba070ad
549ca5b
af2c6a5
bc2677b
6bc22bb
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit worried that this is returning a list of potential servers? It feels like a recipe for different implementations to do signature checks on different servers and thus potentially come to different conclusions (though it seems fairly unlikely).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is now only used to find a list of candidate servers to attempt a remote join to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be tempted to lift these two functions out of here, as this file is otherwise stuff purely related to the auth rules check from the spec?