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

KeepassDX/KeepassXC Database incompatibility #7749

Closed
cubicconsult opened this issue Mar 31, 2022 · 25 comments
Closed

KeepassDX/KeepassXC Database incompatibility #7749

cubicconsult opened this issue Mar 31, 2022 · 25 comments

Comments

@cubicconsult
Copy link

cubicconsult commented Mar 31, 2022

Overview

I am unable to use my KeepassXC database in my KeepassDX mobile app as claimed in the KeepassXC FAQ

Steps to Reproduce

  1. Create a new database in either KeepassDX or KeepassXC
  2. Copy to the other device
  3. Try opening the database with the "compatible" app

Expected Behavior

KeepassDX should open a KeepassXC database and vice versa

Actual Behavior

KeepassDX is unable to open a KeepassXC Database and vice versa

Context

KeepassXC FAQ explains there is no need for a mobile version because it is database compatible with The KeepassDX

KeePassXC - 2.6.6

Operating System: Windows/Andriod

@droidmonkey
Copy link
Member

What error do you receive?

@cubicconsult
Copy link
Author

cubicconsult commented Mar 31, 2022

What error do you receive?

KeepassDX: Could not read credentials.
KeepassXC: Invalid credentials provided.

@droidmonkey
Copy link
Member

I use KeePassDX every day, can assure you that it works with KeePassXC. Did you create the database in DX or XC?

@cubicconsult
Copy link
Author

I use KeePassDX every day, can assure you that it works with KeePassXC. Did you create the database in DX or XC?

I tried both ways...

@droidmonkey
Copy link
Member

You are probably using the wrong password or if you use a key file it is corrupt.

@Nickoriginal
Copy link

@cubicconsult Why you are using KeePassXC 2.6.6 instead of the latest 2.7.0 release? Try to update it.

@cubicconsult
Copy link
Author

I started having this issue before 2.7.0 was release JUST ABOUT WEEK NOW on March 22. I have downloaded 2.7.0 though. However will it update the database structure?

@cubicconsult
Copy link
Author

You are probably using the wrong password or if you use a key file it is corrupt.

Wrong password? No. I used the same password for both databases. And I copied the files back to ensure they were not corrupt AND USED THE SAME PASSWORD and it opened in KeepassXC. So definitely not a password issue...

@droidmonkey
Copy link
Member

You need to be more clear on what the problem is because what you just said conflicts with what you said earlier.

@Nickoriginal
Copy link

However will it update the database structure?

Sure. See at least #7114 (new database format KDBX 4.1 implementation). Also many other change related to the base management and app usability.
Please, always check for updates and update to the latest versions of the apps before reporting issues.

@cubicconsult
Copy link
Author

You need to be more clear on what the problem is because what you just said conflicts with what you said earlier.

Lol. No conflict please. Let me break it down:

  1. I copied my KeepassXC database to my mobile
  2. KeepassDX could not open it
  3. To check if the database was somehow corrupted in my mobile, I copied it back to my device and it opened in KeepassXC

So it is not a password issue because I am using the same password on both devices. Hope clear?

@cubicconsult
Copy link
Author

However will it update the database structure?

Sure. See at least #7114 (new database format KDBX 4.1 implementation). Also many other change related to the base management and app usability. Please, always check for updates and update to the latest versions of the apps before reporting issues.

I'll confirm if that fixes it. Thanks!

NB:
However note that I have been having this issue and searching online BEFORE 2.7.0 was release on March 22nd...

@Nickoriginal
Copy link

Well, I'm glad to see your problem solved! If you encounter the same problem later, you can also report it.

@cubicconsult
Copy link
Author

cubicconsult commented Apr 1, 2022

Well, I'm glad to see your problem solved! If you encounter the same problem later, you can also report it.

Sorry I did not say it is solved, but that I will update to version 2.7.0 and get back. I have done that and the database was not updated by 2.7.0. What do I need to do for the database to be updated? I have opened and closed it with v2.7.0 but it was not modified...

@cubicconsult
Copy link
Author

Sorry, mistakenly closed. Still getting to understand this interface. Lol.

@Nickoriginal
Copy link

Wait, it doesn't work so. App can not update databases to equal with self versions, it can only update it to more fresh database format, compatible with all ports.
New database formats include more features, like tags, groups and other.
For example KeePassDX app has introduced KDBX 4.1 format support in version 2.10.0 in May 2021, but KeePassXC did this right now in the version 2.7.0. If you will create the database in the fresh KeePassDX app version that requires KDBX 4.1 support and then open it in the KeePassXC 2.6.6 and older, you might encounter various errors when trying to open it in KeePassXC, that's why I asked you to update the app. Not important what version of your database are, because all KeePass ports are compatible with them.

@Nickoriginal
Copy link

Your database will be updated to more fresh database format automatically, when you will use its new features, like mentioned here so there is no need for you to update it manually.

@Nickoriginal
Copy link

Sorry, I saw "I", but not "I'll"

@Nickoriginal
Copy link

Nickoriginal commented Apr 1, 2022

In this case can you try other KeePass apps like these both for Android, and this one for Windows? (for example create in KeePassXC and open in KeePassDroid to ensure that your database is not corrupted)

@cubicconsult
Copy link
Author

I have included the error from both apps

On Fri, 1 Apr 2022 00:17 Jonathan White, @.***> wrote:
Is that in error from DX or XC?


Reply to this email directly, view it on GitHub
<#7749 (comment)>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQMGVTYD6MMS3ECQLZYEF23VCYW7PANCNFSM5SG6FAOQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok. So I can, say, add a tag and that's it right?

@cubicconsult
Copy link
Author

cubicconsult commented Apr 1, 2022

In this case can you try other KeePass apps like these both for Android, and this one for Windows? (for example create in KeePassXC and open in KeePassDroid to ensure that your database is not corrupted)

I'll check them out and get back. Thanks!

NB:
As indicated above when I copied the database back from my mobile to my pc it was opened showing it is not corrupt. Unless it is a corruption that KeepassXC accepts! Lol

@Nickoriginal
Copy link

Ok. So I can, say, add a tag and that's it right?

Yes, but not limited by. In KDBX 4.1 compatible app and database you can also assign them into groups and much more.
Just use fresh versions of the apps.

@Nickoriginal
Copy link

@cubicconsult you can now unlock your database on other devices at least using other KeePass ports?

@Nickoriginal
Copy link

Strange case. Should be closed if author does not respond.

@droidmonkey
Copy link
Member

Yes there is nothing we can do here, I use DX and XC together every day.

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

No branches or pull requests

3 participants