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 v2 (MSC3814) breaks passphrase reset #28032

Closed
akoyaxd opened this issue Sep 10, 2024 · 2 comments
Closed

Device Dehydration v2 (MSC3814) breaks passphrase reset #28032

akoyaxd opened this issue Sep 10, 2024 · 2 comments
Assignees
Labels
A-E2EE A-E2EE-Dehydration O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Critical Prevents work, causes data loss and/or has no workaround T-Defect Z-Labs

Comments

@akoyaxd
Copy link

akoyaxd commented Sep 10, 2024

Steps to reproduce

  1. Enable MSC3814 on synapse (experimental_features: msc2697_enabled: false msc3814_enabled: true)
  2. Enable MSC3814 flag in well-known (extra_well_known_client_content: { "org.matrix.msc3814": true })
  3. Authenticate against Synapse
  4. Try to reset passphrase / security key during login
  5. Reset fails

image

Error bootstrapping secret storage Error: Device dehydration requires cross-signing and secret storage to be set up
    startDehydration rust-crypto.ts:1246
    o dehydration.ts:55
    U CreateSecretStorageDialog.tsx:387
    U CreateSecretStorageDialog.tsx:442
    React 11
    unstable_runWithPriority scheduler.production.min.js:18
    React 11
    reRender Modal.tsx:439
    createDialogAsync Modal.tsx:339
    O SecurityManager.ts:245
rageshake.ts:77:16


Outcome

What did you expect?

I can reset my passphrase / security key and with my new keys a new dehydrated device gets created.

What happened instead?

I see an error message that tells me that the secure storage could not be created.

Operating system

All

Browser information

Firefox 129

URL for webapp

app.element.io

Application version

1.11.77

Homeserver

Synapse 1.114.0

Will you send logs?

Yes

@dosubot dosubot bot added A-E2EE A-E2EE-Dehydration O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Critical Prevents work, causes data loss and/or has no workaround labels Sep 10, 2024
@raphaelbadawi
Copy link

Same here.

@richvdh richvdh self-assigned this Jan 29, 2025
@richvdh
Copy link
Member

richvdh commented Jan 29, 2025

I was unable to reproduce this; I suspect it means that something else went wrong during the reset process, but I'd be guessing, really.

(I did discover a different problem: #29130)

If anyone is able to reproduce this, please upload debug logs from within the application. For now, I'm closing the issue.

@richvdh richvdh closed this as completed Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE A-E2EE-Dehydration O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Critical Prevents work, causes data loss and/or has no workaround T-Defect Z-Labs
Projects
None yet
Development

No branches or pull requests

3 participants