Skip to content

KDF parameters missing units in Encryption Settings #10558

@sandwm

Description

@sandwm

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:

  1. have Advanced Settings on
  2. open database
  3. Database -> Database Security -> Encryption Settings
  4. change KDF from AES-KDF to Argon2id
  5. units don't show
  6. disable and re-enable Advanced Settings
  7. units show

Version B:

  1. have Advanced Settings off
  2. open database
  3. Database -> Database Security -> Encryption Settings
  4. enable Advanced Settings
  5. change KDF from AES-KDF to Argon2id
  6. units don't show
  7. disable and re-enable Advanced Settings
  8. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions