element-desktop icon indicating copy to clipboard operation
element-desktop copied to clipboard

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

Open ara4n opened this issue 2 years ago • 4 comments

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 avatar Dec 04 '23 14:12 ara4n

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 avatar Dec 04 '23 15:12 ara4n

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 avatar Dec 04 '23 15:12 ara4n

maybe now mitigated by https://github.com/matrix-org/matrix-js-sdk/pull/3939

richvdh avatar Dec 14 '23 14:12 richvdh

Needs re-testing

BillCarsonFr avatar Mar 01 '24 12:03 BillCarsonFr