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

Disable event encryption for reactions #968

Merged
merged 1 commit into from
Jun 26, 2019

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented Jun 26, 2019

For reactions, there is a very little gained by encrypting the entire event, as
relation data is already kept in the clear. Event encryption for a reaction
effectively only obscures the event type, but the purpose is still obvious from
the relation data, so nothing is really gained. It also causes quite a few
problems, such as:

  • triggers notifications via default push rules
  • prevents server-side bundling for reactions

The reaction key / content / emoji value does warrant encrypting, but this will
be handled separately by encrypting just this value.

See matrix-org/matrix-spec-proposals#1849 (review)
Fixes element-hq/element-web#10130

For reactions, there is a very little gained by encrypting the entire event, as
relation data is already kept in the clear. Event encryption for a reaction
effectively only obscures the event type, but the purpose is still obvious from
the relation data, so nothing is really gained. It also causes quite a few
problems, such as:

  * triggers notifications via default push rules
  * prevents server-side bundling for reactions

The reaction key / content / emoji value does warrant encrypting, but this will
be handled separately by encrypting just this value.

See matrix-org/matrix-spec-proposals#1849 (review)
Fixes element-hq/element-web#10130
@jryans jryans requested a review from a team June 26, 2019 10:03
@bwindels bwindels requested review from bwindels and removed request for a team June 26, 2019 10:17
@jryans jryans merged commit 4ec4d33 into develop Jun 26, 2019
@t3chguy t3chguy deleted the jryans/reactions-disable-encryption branch May 10, 2022 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reactions can lead to room notifications in encrypted rooms
2 participants