Skip to content

Send and receive encrypted Matrix attachments - #28

Merged
TroyHernandez merged 4 commits into
mainfrom
encrypted-media
Oct 26, 2026
Merged

TroyHernandez merged 4 commits into
mainfrom
encrypted-media

Conversation

@TroyHernandez

Copy link
Copy Markdown
Contributor

Support encrypted Matrix attachments through the existing chat contract. Sends upload ciphertext and carry file metadata through the adapter's live Megolm context. Polling preserves decrypted image metadata, and downloads verify integrity before returning plaintext.

Validation: 1,544 assertions pass with isolated state. New tests cover upload bytes, attachment-only sends, token rotation, incoming encrypted media, verified downloads, and corruption. Older dependencies retain the pre-upload refusal; unsupported encrypted threads remain refused.

Version 0.1.0.4. Depends on the encrypted-media PRs in mx.crypto and mx.client, pinned in CI.

@TroyHernandez
TroyHernandez merged commit dd12b9e into main Oct 26, 2026
2 checks passed
@TroyHernandez
TroyHernandez deleted the encrypted-media branch October 26, 2026 19:02
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.

1 participant