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

EDR won't let you enter your megolm passphrase after login as the UI is DoSed trying to decrypt messages #1384

Open
ara4n opened this issue Dec 4, 2023 · 4 comments
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Z-Labs

Comments

@ara4n
Copy link
Member

ara4n commented Dec 4, 2023

Steps to reproduce

  1. Log in to EDR on a fresh profile on a biggish account (e.g. bigtestaccount)
  2. After waiting for initial sync, it prompts you to verify the login
  3. Do so by entering your passphrase
  4. Discover the UI has frozen up because the app is tightlooping trying to decrypt the msgs from the initial sync
  5. After about 5 minutes it unfreezes and lets you enter your passphrase, at which point the app calms down given it can resolve the UTDs from your backup.

Outcome

What did you expect?

UI not to freeze up during login

Operating system

No response

Application version

nightly 2023120401 with EDR

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

@ara4n ara4n added the T-Defect label Dec 4, 2023
@ara4n
Copy link
Member Author

ara4n commented Dec 4, 2023

Actually, it freezes after you hit 'continue' on the 'security phrase' dialog. So presumably hitting 'continue' gets blocked behind whatever the crypto module is doing for minutes on end.

@ara4n
Copy link
Member Author

ara4n commented Dec 4, 2023

actually, i don't know what's going on here at all. the dialog seemed completely stuck, but then it turned out that it was simply not responding to mouse clicks on the green button. when i used tab-navigation to hit the button it cleared instantly :-/

@ara4n ara4n added the A-Element-R Issues affecting the port of Element's crypto layer to Rust label Dec 4, 2023
@github-actions github-actions bot added the Z-Labs label Dec 4, 2023
@dbkr dbkr added S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Occasional Affects or can be seen by some users regularly or most users rarely labels Dec 5, 2023
@richvdh
Copy link
Member

richvdh commented Dec 14, 2023

maybe now mitigated by matrix-org/matrix-js-sdk#3939

@t3chguy t3chguy transferred this issue from element-hq/element-web Dec 14, 2023
@BillCarsonFr
Copy link
Member

Needs re-testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Z-Labs
Projects
None yet
Development

No branches or pull requests

4 participants