Skip to content

Message keys not migrated from legacy to Rust store are not backed up #8858

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

Open
richvdh opened this issue Jun 28, 2024 · 0 comments
Open

Message keys not migrated from legacy to Rust store are not backed up #8858

richvdh opened this issue Jun 28, 2024 · 0 comments

Comments

@richvdh
Copy link
Member

richvdh commented Jun 28, 2024

  1. Install Element Android 1.5.32 or older (any other version without crypto rust)
  2. Send some events in rooms to have a significant history. Do not set up key backup at this point.
  3. Upgrade to more recent version of Element Android
  4. Configure key backup
  5. Start a new session on a new client
  6. Note that keys that could be decrypted on EA are not decryptable on the new session

The problem is that keys that were in the legacy/Realm DB are not actively migrated to the Rust DB (they are copied lazily when the client needs them). So then, when backup is set up on the Rust client, those keys are not backed up, and the new session cannot access them.

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

No branches or pull requests

1 participant