Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kdbx header: version not supported. #10

Open
MrSandMN opened this issue Nov 20, 2024 · 3 comments
Open

Kdbx header: version not supported. #10

MrSandMN opened this issue Nov 20, 2024 · 3 comments

Comments

@MrSandMN
Copy link

Hi,

Could I please get some assistance, I am getting the above error when trying to upload the DB through KeePassPHP-UI,
Full error:
Exception at keepassphp.php:694: Kdbx header: version not supported.

Is there a version compatibility issue or am I missing something

Help would be greatly appriciated.

@shkdee
Copy link
Owner

shkdee commented Nov 21, 2024

There probably is a version compatibility issue. KeePassPHP has not been maintained for many years now, during which KeePass, on the other hand, did evolve. I just think KeePass 2.57 introduced a new version for the database file format, that KeePassPHP is not aware of. So if you saved a database with KeePass >= 2.57, KeePassPHP is not able to read it.

@MrSandMN
Copy link
Author

MrSandMN commented Nov 25, 2024 via email

@shkdee
Copy link
Owner

shkdee commented Nov 25, 2024

You can try if you want it, it's probably just some changes in the xml schema so it should not be very hard to support.

But I forgot to mention one limitation that is likely to show up later and that is much more annoying : KeePass switched to the key derivation function argon2 a while back, but I could not find a proper implementation of it either in php or in an easily accessible third party library like openssl or libsodium.

Overcoming this limitation would probably be necessary too to make KeePassPHP fully compatible again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants