Closed HaujetZhao closed 3 years ago
There can be two explanations
Can you upload a test database to reproduce the problem? Have you tried to recover the file manually to see if KeePassDX was saving correctly with a local file manager? Because I did the tests on my side and I have no problem.
Of course, your KeePassDX application must be up to date: 2.10.2
I can't test your test bases without the associated passwords.
Each time sync, Syncthing will make a copy of old file as a backup.
If this is not the expected behavior, open a ticket on the Syncthink project.
@J-Jamet Just wanna check it out, did this reproduced with the database I uploaded?
No, can't reproduce. You don't indicate the entry that contains the attachments, there are many of them. Note that there is a history to your base. And for you ? the problem is reproducible since you updated the application?
Ah ah, forgot the history...A Lot of work then.
I'll record a video later.
Have this new created vault as an example, it's saved by Windows Keepass 2.44, it's size is 509KB (contains 2 attachments) test vault.zip, password is happy
But if you save it with KeepassDX, it's size will become 287KB.
I just checked and I don't see any problem. The attached files are not altered during the save (binaries hashes remain the same) and the file formatting is repaired and ordered to take less space. https://github.com/Kunzisoft/KeePassDX/wiki/FAQ#why-is-the-database-file-smaller-after-a-save
Describe the bug
I am using Syncthing to sync the database between my phone and my PC, and I noticed that, every time I saved the database by KeepassDX, it's size become about 1.7MB, and every time I saved the database by PC KeePass, it's size become about 3.51MB, why would this happen?
Expected behavior Using same alogrism, I suppose they should have size after saving.
KeePass Database
KeePassDX (please complete the following information):
Android (please complete the following information):