EDR won't let you enter your megolm passphrase after login as the UI is DoSed trying to decrypt messages
Steps to reproduce
- Log in to EDR on a fresh profile on a biggish account (e.g. bigtestaccount)
- After waiting for initial sync, it prompts you to verify the login
- Do so by entering your passphrase
- Discover the UI has frozen up because the app is tightlooping trying to decrypt the msgs from the initial sync
- 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
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.
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 :-/
maybe now mitigated by https://github.com/matrix-org/matrix-js-sdk/pull/3939
Needs re-testing