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

Deprecate the sender_key and device_id on Megolm events #1101

Merged
merged 5 commits into from
Jun 9, 2022

Conversation

turt2live
Copy link
Member

@turt2live turt2live commented May 31, 2022

MSC: matrix-org/matrix-spec-proposals#3700 (Markdown)

The language around m.room.encrypted is a bit awkward because technically you can use the event to represent non-Megolm events, however that's considered an edge case at this time.

Preview: https://pr1101--matrix-spec-previews.netlify.app

MSC: matrix-org/matrix-spec-proposals#3700 ([Markdown](https://github.com/matrix-org/matrix-spec-proposals/blob/main/proposals/3700-deprecate-sender-key.md))

The language around `m.room.encrypted` is a bit awkward because *technically* you can use the event to represent non-Megolm events, however that's considered an edge case at this time.
@turt2live turt2live marked this pull request as ready for review May 31, 2022 00:47
@turt2live turt2live requested a review from a team as a code owner May 31, 2022 00:47
@turt2live turt2live added the release-blocker Blocks the next release from happening label May 31, 2022
@anoadragon453 anoadragon453 self-requested a review May 31, 2022 13:56
Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

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

Looks good overall! However I don't see a change here corresponding to this paragraph in MSC3700:

When clients receive an encrypted event with an unknown session they will need to send a key request to all clients, rather than the device specified by sender_key and device_id. This is the current behaviour used by Element clients.

and am failing to find an existing paragraph in the spec that mentions this.

@turt2live
Copy link
Member Author

@anoadragon453 please take another look

@turt2live turt2live merged commit 926c6ba into main Jun 9, 2022
@turt2live turt2live deleted the travis/spec/deprecate-megolm-bits branch June 9, 2022 08:24
neilalexander added a commit to matrix-org/gomatrixserverlib that referenced this pull request Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-blocker Blocks the next release from happening
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants