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

Dehydrated devices v2 - phase 2 #27336

Open
Tracked by #922
uhoreg opened this issue Apr 15, 2024 · 3 comments
Open
Tracked by #922

Dehydrated devices v2 - phase 2 #27336

uhoreg opened this issue Apr 15, 2024 · 3 comments

Comments

@uhoreg
Copy link
Member

uhoreg commented Apr 15, 2024

After initial dehydrated devices v2 lands, we will need still to:

  • change dehydrated device format to be less libolm/vodozemac-specific
  • update Client-Server API
    • use GET instead of POST for getting events
    • signal end of pagination by omitting token
  • cache dehydration key, so that when you reload, you can replace dehydrated devices when you reload
    • caching to be done in Rust crypto crate
    • js-sdk will need to detect if Rust has key cached, and start dehydration process if so
  • share key with your other devices after verifying
  • look into not encrypting to dehydrated device if receiving user has other active devices
  • add UI for enabling/disabling device dehydration (not just use .well-known)
  • ensure that things don't break if resetting SSSS has an error (Add support for device dehydration v2 matrix-org/matrix-react-sdk#12316 (comment))

At some point, we also need to rip out the v1 dehydration

@andybalaam andybalaam changed the title Dehydrated devices v2 - phase 2 Dehydrated devices v2 - phase 2 (Element Web R only) Apr 29, 2024
@andybalaam andybalaam changed the title Dehydrated devices v2 - phase 2 (Element Web R only) Dehydrated devices v2 - phase 2 (Element Web R + Legacy iOS only) Apr 29, 2024
@richvdh
Copy link
Member

richvdh commented Sep 24, 2024

I think this is part of element-hq/element-meta#922 ?

@uhoreg
Copy link
Member Author

uhoreg commented Sep 25, 2024

I think this is part of element-hq/element-meta#922 ?

Kind of? That issue seemed to be mainly about planning for customer work. I don't know if we want to repurpose it as a general Dehydration v2 issue, or keep it as a record for the progress that was done for that customer.

@richvdh richvdh changed the title Dehydrated devices v2 - phase 2 (Element Web R + Legacy iOS only) Dehydrated devices v2 - phase 2 Oct 4, 2024
@richvdh
Copy link
Member

richvdh commented Oct 4, 2024

Kind of? That issue seemed to be mainly about planning for customer work. I don't know if we want to repurpose it as a general Dehydration v2 issue, or keep it as a record for the progress that was done for that customer.

As far as I can tell, element-hq/element-meta#922 is just our top-level issue for tracking dehydration v2. I've added this there.

(I've also removed the mention of "Legacy iOS" from the description of this element-web issue.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants