matrix-org / matrix-org/matrix-spec

Clarify how to handle key sharing wrt history visibility for invites

Open
#2,419 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

clarification
Dominant language
HTML
Stars
330
Forks
150
Avg merge
2h 21m
Merged PRs (30d)
3

Description

**Link to problem area**:
https://spec.matrix.org/latest/client-server-api/#end-to-end-encryption

**Issue**
While history key sharing is now specified for history visibility including changes between "shareable" and not invite/join visibilities, the spec is missing clarity that when a user is invited to a room, their devices SHOULD(?) be considered a member of the megolm group from that point onward.

Element introduced this behavior in https://github.com/matrix-org/matrix-js-sdk/pull/666.

Having discussed with @richvdh, I will propose a clarification PR for this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the end-to-end encryption section of the Matrix Client-Server API specification and review the history visibility rules, especially changes between shareable and invite/join visibilities. Compare the specified behavior with matrix-js-sdk pull request #666 and the issue's proposed clarification. Done means the specification clearly states whether invited users' devices are considered part of the Megolm group from invitation onward.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.