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

Exporting keys on EDR is painful. #27419

Open
ara4n opened this issue May 1, 2024 · 4 comments
Open

Exporting keys on EDR is painful. #27419

ara4n opened this issue May 1, 2024 · 4 comments
Labels
A-E2EE-Key-Backup 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

Comments

@ara4n
Copy link
Member

ara4n commented May 1, 2024

Steps to reproduce

  1. Went to export megolm keys on EDR
  2. After hitting the export button, the app spun 10 cores of CPU at 100% for 1 hour before saving (310MB) of keys
  3. During this:
  • i was able to edit the contents of the export dialogue (i.e. change the passphrase, and keep hitting export), which made me wonder if i'd actually hit export in the first place
  • the console logged progress, which wasn't reflected anywhere in the dialog
  • i gave up after about 30m and cancelled the dialog, but it didn't actually stop the export, which eventually coughed up the prompt to save the resulting file.

Outcome

What did you expect?

  • Dialog to make it clear that it's exported, and disable editable controls
  • Show export progress
  • Cancelling dialog should cancel export
  • Export should not chew 10 hours of CPU time

Operating system

No response

Application version

nightly

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

@ara4n ara4n added the T-Defect label May 1, 2024
@dosubot dosubot bot added A-E2EE-Key-Backup S-Major Severely degrades major functionality or product features, with no satisfactory workaround labels May 1, 2024
@t3chguy
Copy link
Member

t3chguy commented May 1, 2024

This looks like the closed issue #26681

@ara4n
Copy link
Member Author

ara4n commented May 1, 2024

not really - on #26681 it failed to export.

Whereas here is does successfully export (if you wait an hour). But the UX has a tonne of other problems.

@t3chguy
Copy link
Member

t3chguy commented May 1, 2024

@ara4n the issue comments discuss whether to add a progress bar and claim that it worked quickly enough for you such that a progress bar is not needed

@ara4n
Copy link
Member Author

ara4n commented May 1, 2024

i can believe there's overlap in the comments :) eitherway, let's use this one, given it's open

#24894 is related (but not the same) ftr

@dbkr dbkr added the O-Occasional Affects or can be seen by some users regularly or most users rarely label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE-Key-Backup 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
Projects
None yet
Development

No branches or pull requests

3 participants