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

Device Dehydration | js-sdk: provide functions to allow application to create dehydrated devices on restart #4484

Open
BillCarsonFr opened this issue Oct 30, 2024 · 0 comments
Assignees
Labels
A-E2EE A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Task Tasks for the team like planning

Comments

@BillCarsonFr
Copy link
Member

BillCarsonFr commented Oct 30, 2024

Follow up of #4483
part of element-hq/element-meta#2603

When the SDK starts, use the function from matrix-org/matrix-rust-sdk#4186 to check if there is a dehydration key cached, and if so, schedule periodic device dehydration. May want to wait until a sync is done, so that we can see if the dehydration key got reset, so we don't create a dehydrated device using an old key.

When the application starts, it should check if there is a dehydration key cached, and if so, schedule periodic device dehydration. The SDK needs to provide functionality so that the application can do so.

@dosubot dosubot bot added A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Task Tasks for the team like planning labels Oct 30, 2024
@uhoreg uhoreg self-assigned this Dec 17, 2024
@uhoreg uhoreg changed the title Device Dehydration | js-sdk: schedule dehydration if dehydration key is stored Device Dehydration | js-sdk: provide functions to allow application to create dehydrated devices on restart Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Task Tasks for the team like planning
Projects
None yet
Development

No branches or pull requests

2 participants