Support Matrix image and file transfers, including E2EE #62

Merged
karsten merged 1 commit from feat/matrix-media into main 2026-11-07 10:07:22 +00:00
Owner

Summary

  • Download authorized m.image/m.file/m.audio/m.video into private crash-durable local storage with bounded authenticated media fetches.
  • Upload explicitly authorized MEDIA:/absolute/path final-output lines; retain threads and stable delivery transactions.
  • Matrix v2 AES-CTR/SHA-256 attachments inside existing Megolm messages; no plaintext downgrade.
  • Size/timeout limits, safe filenames, no redirect/token forwarding, no slash-command execution from attachment names, no code-fence/progress uploads.

Dependency

Core #302 merged; binary durable-write contract. Core integration tests/docs and exact plugin pin follow in a separate Core PR before release.

Verification

74 focused tests passed locally including real Olm/Megolm attachment roundtrip. Native compatibility CI must verify this exact Plugins head against current Core main. No runtime activated by this source PR.

## Summary - Download authorized m.image/m.file/m.audio/m.video into private crash-durable local storage with bounded authenticated media fetches. - Upload explicitly authorized MEDIA:/absolute/path final-output lines; retain threads and stable delivery transactions. - Matrix v2 AES-CTR/SHA-256 attachments inside existing Megolm messages; no plaintext downgrade. - Size/timeout limits, safe filenames, no redirect/token forwarding, no slash-command execution from attachment names, no code-fence/progress uploads. ## Dependency Core #302 merged; binary durable-write contract. Core integration tests/docs and exact plugin pin follow in a separate Core PR before release. ## Verification 74 focused tests passed locally including real Olm/Megolm attachment roundtrip. Native compatibility CI must verify this exact Plugins head against current Core main. No runtime activated by this source PR.
feat(matrix): transfer images and files with encrypted attachment support
All checks were successful
plugins-ci / compatibility (push) Successful in 2m28s
d487307e09
Author
Owner

Exact-head native compatibility CI passed (plugins-ci / compatibility, run 41). Clean Core integration candidate: 1605 passed, one optional skip, zero failures; standalone plugin tests: 63 passed. Source review confirms ACL checks precede downloads, uploads are explicit-only, AEAD-equivalent hash+CTR format follows Matrix v2, ciphertext descriptor is carried by existing Megolm sendRoom, and encrypted rooms fail closed. Release pin/activation follows in Core.

Exact-head native compatibility CI passed (plugins-ci / compatibility, run 41). Clean Core integration candidate: 1605 passed, one optional skip, zero failures; standalone plugin tests: 63 passed. Source review confirms ACL checks precede downloads, uploads are explicit-only, AEAD-equivalent hash+CTR format follows Matrix v2, ciphertext descriptor is carried by existing Megolm sendRoom, and encrypted rooms fail closed. Release pin/activation follows in Core.
karsten deleted branch feat/matrix-media 2026-11-07 10:07:22 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harness/plugins!62
No description provided.