-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
KDF parameters missing units in Encryption Settings #10558
Description
Overview
In Database Settings -> Security -> Encryption Settings, the units for memory usage (MiB) and parallelism (threads) only show after I disable and re-enable Advanced settings. Also, both default to 1 when units are not shown (compared to 64 MiB and 4 threads with units shown). My database currently uses AES-KDF, which I wanted to change to Argon2id.
Steps to Reproduce
Version A:
- have Advanced Settings on
- open database
- Database -> Database Security -> Encryption Settings
- change KDF from AES-KDF to Argon2id
- units don't show
- disable and re-enable Advanced Settings
- units show
Version B:
- have Advanced Settings off
- open database
- Database -> Database Security -> Encryption Settings
- enable Advanced Settings
- change KDF from AES-KDF to Argon2id
- units don't show
- disable and re-enable Advanced Settings
- units show
Expected Behavior
I would expect to see memory usage "64 MiB" and parallelism "4 threads" (or some other values, but including units) every time, including steps 5/6 above.
Actual Behavior
I see memory usage "1" and parallelism "1". Units are missing and the suggested values are the minimum possible, not some (I guess) recommended values.
Context
The database currently uses AES-KDF, which I want to change. I'm using KeePassXC from the Arch Linux package.
KeePassXC - Version 2.7.7
Revision: 68e2dd8
Qt 5.15.13
Debugging mode is disabled.
Operating system: Arch Linux
CPU architecture: x86_64
Kernel: linux 6.6.23-1-lts
Enabled extensions:
- Auto-Type
- Browser Integration
- Passkeys
- SSH Agent
- KeeShare
- YubiKey
- Secret Service Integration
Cryptographic libraries:
- Botan 3.3.0
Operating System: Linux
Desktop Env: i3
Windowing System: X11