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

MSC2230: Store Identity Server in Account Data #2230

Merged
merged 6 commits into from
Aug 26, 2019

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Aug 13, 2019

@dbkr dbkr added proposal A matrix spec change proposal proposal-in-review labels Aug 13, 2019
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally looks good to me. I have concerns with using MUST all over the place given this isn't declared as a module: if it were declared as a module, the MUSTs can stay because it would be under the context of "clients which support identity servers stored in account data MUST respect the rules of the module".

Also, proposals are meant to be somewhat less formal than the spec. Including keywords like MUST and SHOULD can sometimes lead to nitpicks like this. Lowercasing all the keywords or altering the language can help communicate intent without getting stuck on bikesheds.

proposals/2230-identity-server-account-data.md Outdated Show resolved Hide resolved
proposals/2230-identity-server-account-data.md Outdated Show resolved Hide resolved
proposals/2230-identity-server-account-data.md Outdated Show resolved Hide resolved
proposals/2230-identity-server-account-data.md Outdated Show resolved Hide resolved
proposals/2230-identity-server-account-data.md Outdated Show resolved Hide resolved
proposals/2230-identity-server-account-data.md Outdated Show resolved Hide resolved
proposals/2230-identity-server-account-data.md Outdated Show resolved Hide resolved
dbkr and others added 2 commits August 14, 2019 09:51
Use fewer formal MUST etc in proposal

Co-Authored-By: Travis Ralston <[email protected]>
@anoadragon453
Copy link
Member

Given that I don't think this MSC is going to change too drastically at this point:

@mscbot fcp merge

@mscbot
Copy link
Collaborator

mscbot commented Aug 14, 2019

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

Concerns:

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.

proposals/2230-identity-server-account-data.md Outdated Show resolved Hide resolved
## Proposal

The base URL of the Identity Server is to be stored in user account data. It
shall be stored in the same format as in a .well-known file under the key,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you give an example of what this will look like?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{
  "type": "m.identity_server",
  "content": {
    "base_url": "https://vector.im"
  }
}

if I understand the docs correctly, I think.

proposals/2230-identity-server-account-data.md Outdated Show resolved Hide resolved
proposals/2230-identity-server-account-data.md Outdated Show resolved Hide resolved

## Security considerations

An attacker would be able to force all a user clients to use a given ID Server
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it also puts control of the IS to be used in the hands of the HS admin (or a MITM etc).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be solved by signing m.identity_server account data using the user's master cross-signing key. (Once we get that through MSC...)

Users will no longer be able to have different clients configured with
different ID Servers.

## Security considerations
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do clients need to be a bit wary of things they read from the URL to check that they are valid URLs and aren't localhost and that sort of thing?

@mscbot mscbot 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 Aug 16, 2019
@mscbot
Copy link
Collaborator

mscbot commented Aug 16, 2019

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

Co-Authored-By: Richard van der Hoff <[email protected]>
@dbkr
Copy link
Member Author

dbkr commented Aug 20, 2019

@mscbot concern The migration process for this needs to be changed

@mscbot mscbot added proposed-final-comment-period Currently awaiting signoff of a majority of team members in order to enter the final comment period. and removed final-comment-period This MSC has entered a final comment period in interest to approval, postpone, or delete in 5 days. labels Aug 20, 2019
@dbkr
Copy link
Member Author

dbkr commented Aug 21, 2019

@mscbot resolve The migration process for this needs to be changed

@mscbot mscbot 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 Aug 21, 2019
@mscbot
Copy link
Collaborator

mscbot commented Aug 21, 2019

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

@mscbot mscbot added finished-final-comment-period and removed final-comment-period This MSC has entered a final comment period in interest to approval, postpone, or delete in 5 days. labels Aug 26, 2019
@mscbot
Copy link
Collaborator

mscbot commented Aug 26, 2019

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

@turt2live turt2live merged commit 7a36016 into master Aug 26, 2019
@turt2live turt2live self-assigned this Aug 26, 2019
@turt2live
Copy link
Member

Implementation: matrix-org/matrix-react-sdk#3320

@turt2live turt2live added spec-pr-missing Proposal has been implemented and is being used in the wild but hasn't yet been added to the spec and removed finished-final-comment-period labels Aug 26, 2019
turt2live added a commit that referenced this pull request Sep 4, 2019
@turt2live
Copy link
Member

Spec PR: #2281

@turt2live turt2live added spec-pr-in-review A proposal which has been PR'd against the spec and is in review and removed spec-pr-missing Proposal has been implemented and is being used in the wild but hasn't yet been added to the spec labels Sep 4, 2019
@turt2live turt2live added merged A proposal whose PR has merged into the spec! and removed spec-pr-in-review A proposal which has been PR'd against the spec and is in review labels Sep 7, 2019
@turt2live
Copy link
Member

merged 🎉

@turt2live turt2live added the kind:feature MSC for not-core and not-maintenance stuff 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:feature MSC for not-core and not-maintenance stuff merged A proposal whose PR has merged into the spec! privacy-sprint Temporary label: privacy-related stuff proposal A matrix spec change proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants