Menu

#2337 Keepass v2.45 "The composite key is invalid!" error on Linux RHEL 8.10, but opens properly on Windows

KeePass_2.x
closed
nobody
None
5
2024-08-21
2024-08-20
Kevin Mahon
No

When I attempt to open my database using my password and keyx file using Keepass version 2.45 I get a popup error window stating:

Failed to load the specified file!
The composite key is invalid!
Make sure the composite key is correct and try again.

This only occurs when I attempt to open it on my RHEL 8.10 computer, which has keepass version 2.45 installed via the EPEL RPM. I can open the same database using my password and keyx file on any windows computer using the latest keepass version. I can also open said database on my RHEL 8.10 machine using keepassxc version 2.7.9. This leads me to believe that this is not user error.

Please advise if this is the appropriate location for this ticket or if it should be opened against the RPM build source repo.

Discussion

  • Kevin Mahon

    Kevin Mahon - 2024-08-20

    I forgot to set the milestone to KeePass_2.x. Sorry about that. It does not look like there is a way for me to fix that after ticket creation...

     
  • Paul

    Paul - 2024-08-20

    You may be using a later version of the database that 2.45 doesn't recognise.
    Check the database settings, is the encryption using Argon key derivation?

    cheers, Paul

     
  • Paul

    Paul - 2024-08-20

    Try creating a test database with only a password only in XC and opening it with KeePass.

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2024-08-21
    • status: open --> closed
    • Group: KeePass_1.x --> KeePass_2.x
     
  • Dominik Reichl

    Dominik Reichl - 2024-08-21

    The key file format has been enhanced in KeePass 2.47. Most likely you have created your key file using KeePass 2.47 or newer (on Windows), and opening the database with KeePass 2.45 fails, because it doesn't know the format (KeePass 2.47 has also introduced better key file loading/saving error messages).

    So, my suggestion would be to use the latest KeePass version. If it's not available via the repo, you could download the latest portable ZIP package (currently 'KeePass-2.57.zip') and run 'mono KeePass.exe'.

    If you don't want to do this, you could create a new key file and select '1.0 (compatible with older KeePass versions/ports)' as format version in the 'Create Key File' dialog.

    Best regards,
    Dominik

     

Log in to post a comment.

MongoDB Logo MongoDB