Keepassxc: UI freeze while DB is computing master key

Created on 28 May 2019  路  3Comments  路  Source: keepassxreboot/keepassxc

Expected Behavior

The software should show a writing indicator. The UI should not be impacted by the key computing.

Current Behavior

When I write a new version if the database, there is a freeze of the UI. My system told me that the app does not respond and ask me to kill it.

Possible Solution

  • Create a thread to separate all the key computation from the UX
  • While the thread has an active task, show up to the user a loading indicator

Steps to Reproduce

  1. Create a database with Argon2 and high security key
  2. Apply a change on the DB
  3. Save

Context

  • DB saving

Debug Info

KeePassXC - Version 2.4.1
Revision: 7bafe65
Distribution: Flatpak

Qt 5.12.3
Debugging mode is disabled.

Operating system: Linux 5.0.17-300.fc30.x86_64
CPU architecture: x86_64
Kernel: linux 5.0.17-300.fc30.x86_64

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare (signed and unsigned sharing)
  • YubiKey

Cryptographic libraries:
libgcrypt 1.8.4

bug ux

All 3 comments

This is not writing to disk delay, it is your computer computing the master key. Did you set your argon2 settings too high?

@droidmonkey thanks for replying! I understand better now. Indeed, my Argon2 takes ~10sec to compute.

So I propose to rename this issue to "UI lags & freeze while key computing"

It is indeed a problem that the UI freezes. Its a little challenging to fix that right now, but it should be addressed.

Was this page helpful?
0 / 5 - 0 ratings