Skip to content

Feature/e2ee decryption - #24

Merged
mjkatgithub merged 2 commits into
developfrom
feature/e2ee-decryption
Feb 18, 2026
Merged

Feature/e2ee decryption#24
mjkatgithub merged 2 commits into
developfrom
feature/e2ee-decryption

Conversation

@mjkatgithub

@mjkatgithub mjkatgithub commented Feb 18, 2026

Copy link
Copy Markdown
Owner

Goal

Enable reliable decryption for encrypted rooms and render readable timeline content.

Scope

  • Initialize Rust crypto during client startup
  • Integrate decryption into login and sync flow
  • Handle undecryptable events with clear user-facing fallbacks

Acceptance Criteria

  • Encrypted rooms show readable message content instead of raw encrypted payloads
  • The app remains stable when an event cannot be decrypted
  • Decryption error states are visible and understandable to users

Test Checklist

Unit

  • Encrypted event mapping and decryption result handling
  • Error path tests for undecryptable events

Integration

  • Timeline renders decrypted events correctly
  • Fallback rendering is shown for undecryptable events

E2E

  • Open an encrypted room and verify readable messages
  • Verify no UI crash when decryption fails

branch

feature/e2ee-decryption

Initialize Rust crypto WASM and recover from account-mismatched
crypto stores.
Persist session and device IDs, and reuse device IDs only for same-user
logins.
Add account verification UI with SAS actions and timeout-safe flow
handling.
Map encrypted timeline events with robust undecryptable fallbacks and
throttle timeline reloads.
Add unit and integration tests plus i18n strings for E2EE states.
Create a new tsconfig.json in the tests directory, extending the main Nuxt configuration. This includes compiler options for Vitest globals and specifies the inclusion of TypeScript and related file types for testing.
@github-project-automation github-project-automation Bot moved this to Backlog in Decentra Feb 18, 2026
@mjkatgithub mjkatgithub linked an issue Feb 18, 2026 that may be closed by this pull request
9 tasks
@mjkatgithub mjkatgithub self-assigned this Feb 18, 2026
@mjkatgithub
mjkatgithub merged commit 28978df into develop Feb 18, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Decentra Feb 18, 2026
@mjkatgithub
mjkatgithub deleted the feature/e2ee-decryption branch February 18, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Feature: E2EE decryption foundation

1 participant