Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSC1831: Change the order of .well-known and SRV discovery techniques #1831

Merged
merged 4 commits into from
Feb 1, 2019

Conversation

turt2live
Copy link
Member

@turt2live turt2live commented Jan 31, 2019

@turt2live turt2live added proposal-in-review proposal A matrix spec change proposal labels Jan 31, 2019
@turt2live turt2live changed the title Proposal to change the order of .well-known and SRV discovery techniques MSC1831: Change the order of .well-known and SRV discovery techniques Jan 31, 2019
@turt2live
Copy link
Member Author

turt2live commented Jan 31, 2019

In the interest of getting this into the r0 s2s spec release, I'm calling for a 24 hour FCP on this. Because the bot can't handle this, I'm channelling it here.


Team member @turt2live has proposed to merge this. The next step is review by the rest of the tagged people:

No concerns currently listed.

Once a majority of reviewers approve (and none object), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up!

See this document for info about what commands tagged team members can give me.

@turt2live turt2live added proposed-final-comment-period Currently awaiting signoff of a majority of team members in order to enter the final comment period. disposition-merge labels Jan 31, 2019
@anoadragon453
Copy link
Member

Looks good to me.

@turt2live reviewed

@richvdh
Copy link
Member

richvdh commented Jan 31, 2019

thanks @turt2live

@richvdh
Copy link
Member

richvdh commented Jan 31, 2019

To be clear: this change makes it easier for servers to migrate to the new system.

In order to be compatible with requests from both Synapse 0.34 and 1.0, servers can have both a SRV and a .well-known file, with Synapse presenting a certificate corresponding to the target of the .well-known. Synapse 0.34 is then happy because it will follow the SRV (and won't care about the incorrect certificate); Synapse 1.0 is happy because it will follow the .well-known (and will see the correct cert).

@richvdh
Copy link
Member

richvdh commented Jan 31, 2019

(With MSC1708 as originally written, it was impossible to have a server which was compatible with both 0.34 and 1.0 without it presenting the cert corresponding to the original matrix domain: If you use a SRV, 0.34 would be happy but 1.0 would complain about the broken cert. If you don't use a SRV, and instead use a .well-known, 1.0 would be happy but 0.34 would be unable to follow the routing. Your only option was therefore to wait until everyone had updated to 0.99, and then, before anyone updates to 1.0, remove the SRV and add the .well-known.)

@dbkr
Copy link
Member

dbkr commented Jan 31, 2019

lgtm with the explanation of the problem :)

@turt2live
Copy link
Member Author

because I'm the bot for this one: T minus 24 hours:


🔔 This is now entering its final comment period, as per the review above. 🔔

@turt2live turt2live added final-comment-period This MSC has entered a final comment period in interest to approval, postpone, or delete in 5 days. and removed proposed-final-comment-period Currently awaiting signoff of a majority of team members in order to enter the final comment period. labels Jan 31, 2019
turt2live added a commit that referenced this pull request Jan 31, 2019
Original proposal: #1831

Implementation proof: pending
@turt2live
Copy link
Member Author

The final comment period, with a disposition to merge, as per the review above, is now complete.

@turt2live turt2live added merged A proposal whose PR has merged into the spec! and removed final-comment-period This MSC has entered a final comment period in interest to approval, postpone, or delete in 5 days. labels Feb 1, 2019
@turt2live
Copy link
Member Author

Note: this skips straight to merge as the spec PR was reviewed and merged while this was in FCP. No changes have been proposed between that happening and now, and thus no further changes to the spec are required at this time for this MSC.

@turt2live turt2live merged commit 1cf9086 into master Feb 1, 2019
@turt2live turt2live deleted the travis/msc/wk-before-srv branch February 1, 2019 18:53
@turt2live turt2live added the kind:maintenance MSC which clarifies/updates existing spec label Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
disposition-merge kind:maintenance MSC which clarifies/updates existing spec merged A proposal whose PR has merged into the spec! proposal A matrix spec change proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants