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

Remove brokenheaded encryption test #3070

Merged
merged 1 commit into from
Jan 17, 2023
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jan 16, 2023

This test seemed to be testing the behaviour of decrypting redacted events, but
that seems... strange. A redaction event cannot be encrypted (at least, there
is no spec for it), and it should be impossible to decrypt a (correctly)
redacted event, because such an event will lack a ciphertext property.

This test is just sticking a "redacted_because" property into a regular event,
which is a bit of a nonsense.


This change is marked as an internal change (Task), so will not be included in the changelog.

This test seemed to be testing the behaviour of decrypting redacted events, but
that seems... strange. A redaction event cannot be encrypted (at least, there
is no spec for it), and it should be impossible to decrypt a (correctly)
redacted event, because such an event will lack a `ciphertext` property.

This test is just sticking a "redacted_because" property into a regular event,
which is a bit of a nonsense.
@richvdh richvdh added the T-Task Tasks for the team like planning label Jan 17, 2023
@richvdh richvdh enabled auto-merge (squash) January 17, 2023 11:26
@richvdh richvdh merged commit 85b34b4 into develop Jan 17, 2023
@richvdh richvdh deleted the rav/remove_broken_test branch January 17, 2023 11:27
@richvdh
Copy link
Member Author

richvdh commented Jan 17, 2023

For links: the test was added in #2531.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants