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

Migrate encrypted file metadata utils #7

Closed
babolivier opened this issue May 27, 2022 · 0 comments · Fixed by #25
Closed

Migrate encrypted file metadata utils #7

babolivier opened this issue May 27, 2022 · 0 comments · Fixed by #25

Comments

@babolivier
Copy link
Contributor

No description provided.

babolivier added a commit that referenced this issue Sep 29, 2022
When scanning an encrypted file, clients are expected to send the
content scanner some metadata it can use to decrypt it. This is
typically the `file` property of the `m.room.message` event content. See
https://github.com/matrix-org/matrix-content-scanner-python/blob/main/docs/api.md#post-_matrixmedia_proxyunstabledownload_encrypted
to see how it fits into the API, and an example.

This adds a `validate_encrypted_file_metadata` util that performs a few
validation checks on the client-provided data to ensure it's in the
right format before passing it on to the scanner.

Closes #7
@babolivier babolivier added this to the Initial version milestone Oct 31, 2022
reivilibre added a commit that referenced this issue Nov 19, 2024
I also document and test the (existing) behaviour with generic text and
binary files.

Closes element-hq/customer-success#197
reivilibre added a commit that referenced this issue Nov 19, 2024
I also document and test the (existing) behaviour with generic text and
binary files.

Closes element-hq/customer-success#197
reivilibre added a commit that referenced this issue Nov 19, 2024
I also document and test the (existing) behaviour with generic text and
binary files.

Closes element-hq/customer-success#197
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 a pull request may close this issue.

1 participant