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 (Element Web R + Legacy iOS only) #27336

Open
uhoreg opened this issue Apr 15, 2024 · 0 comments
Open

Dehydrated devices v2 - phase 2 (Element Web R + Legacy iOS only) #27336

uhoreg opened this issue Apr 15, 2024 · 0 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
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

1 participant