-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Database corruption on merging to a locked database #1875
Comments
I fixed this in #1219. Unless merging is somehow bypassing the standard save functions. You didn't keep any backups? Were you using kdbx4? |
My backups were stale, I know, stupid stuff, but shit happens. I lost a small fraction of my changes, but among them are a few important ones. How do I check if I'm using kdbx4? The file has a .kdbx extension |
If you dont know then you are not using it, it is currently opt-in on the database settings. I'm going to look into this and try to replicate. |
OK, so I replicated the issue, there is definitely a problem. HOWEVER, the database is NOT CORRUPT. Just uncheck the password checkbox and you will be able to decrypt it. Basically the database gets saved without any password, keyfile, whatever. This needs to be fixed ASAP. |
Whoa! Thanks for investigating the issue. I was able to recover both my "corrupt" databases, since I saved their copies in hopes of cracking the puzzle sometime. |
Awesome |
Or scary. |
I just lost my database. Fingers were faster than they should've been, attempted a merge while my db was locked. That just opened the db I'm merging. Manually opening the db I merged into shows it's corrupt.
I guess it was because the db was locked, looking at similar corruption issues in the past. This is the second corruption I had resulting in loss of some data.
Expected Behavior
Merging into locked database should not corrupt it.
Steps to Reproduce (for bugs)
Debug Info
KeePassXC - Version 2.3.1
Revision: 2fcaeea
Libraries:
Operating system: Arch Linux
CPU architecture: x86_64
Kernel: linux 4.15.15-1-ARCH
Enabled extensions:
The text was updated successfully, but these errors were encountered: