Skip to content

MacPass fails to open KDBX file after some security settings were "increased" in KeePassXC #1333

Description

@justauserid

Describe the bug
The file had these settings:

  • DB Format: KDBX 4
  • Algo: AES 256-bit
  • Key Derivation: Argon2id
  • Memory Usage: 512 MB
  • Parallel threads: 2
  • Transform Rounds: 10

I just changed these (using KeePassXC):

  • memory usage to → 2048MB
  • Parallelism to → 8
  • Transform rounds to → 50

It of course takes much more time to open in KeePassXC but it opens just fine but in case of MacPass it instantly throws:

Key derivation failed (1034)

Expected behavior

A bit of delay is expected but it should be able to decrypt the file and open it.

Desktop (please complete the following information):

  • macOS: Tahoe 26.6.1
  • MacPass 0.8.2

Additional context

I notice at the time of decrypting the RAM usage of KeePassXC spikes to ≈2GB from the usual ≈140MB and then comes back to the usual. But MacPass RAM usage never goes up so possibly it is not even trying.

Activity

  1. added this to the 0.8.3 milestone on Sep 18, 2026
  2. mstarke commented on Sep 18, 2026

    @mstarke
    Member

    KeePassKit is enforcing an upper memory limit which you are exceeding. I will raise that a bit and might have to communicate those limits in the UI a bit better. Regardless, using such a slow encryption setup will make the app respond very badly considering autosaves take place frequently. You can disable them which I would not recommend.

  3. justauserid commented on Sep 18, 2026

    @justauserid
    Author

    which I would not recommend.

    Hey I don't think a lot of people would want this change and I see the app has not been updated for a long time so not sure it's even needed.

    My use of a KDBX file is very rare. My usual password manager is BitWarden. So you can just close this issue if you think it's not really an issue and it might actually make the experience of regular users worse. I upped the values in my silly attempt to future proof the file in case I misplace it :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    KeePassKitError related to KeePassKit Library

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions