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

WIP: online incremental megolm backups #595

Merged
merged 3 commits into from
Nov 21, 2018
Merged

WIP: online incremental megolm backups #595

merged 3 commits into from
Nov 21, 2018

Conversation

ara4n
Copy link
Member

@ara4n ara4n commented Jan 15, 2018

This doesn't remotely work yet (not even tried to compile it yet) and isn't finished, but opening a PR to aid feedback/review

Adds a new crypto.suggestKeyRestore event which the js-sdk fires when the user starts interacting with e2e (by receiving room_keys) for the first time on a given device. The event should prompt the user to sync in keys.

Stuff left to do:

  • Implementing the client side of the new E2E backup APIs
  • Actually wire up the backupKey field to olm::Account
  • In future, hook up the cross-signing field to /devices store
  • Persist suggestedKeyRestore somewhere in localStorage or equivalent

@uhoreg uhoreg mentioned this pull request Aug 8, 2018
@dbkr dbkr merged commit 69204d4 into develop Nov 21, 2018
@t3chguy t3chguy deleted the matthew/e2e_backups branch May 10, 2022 14:19
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.

2 participants