Closed layandreas closed 2 years ago
I can reproduce this, definitely an issue.
When saving the database, KeePassium gzip-compresses the attachments. When loading the database, the app decompresses them. Apparently, for new files compression applies to the actual data (instead of a copy). That's why the file looks slightly smaller and starts with gzip signature (1F8B08
).
Once you close and reopen the database, all the attachments are decompressed and look fine. (I guess that's why you closed the issue?)
I have also tested adding two attachments in a row, and the first one was compressed only once. After reloading the database both attachments were fine.
So while not a critical issue (attachments in the database are fine), this is still a very valid issue. I will get this fixed. Thanks, Andreas.
Description .pfx file is corrupted after saving as attachment.
How to reproduce Steps to reproduce the behavior:
Expected behavior The saved file should not be corrupted.
Screenshots
Original .pfx file:
File from database (file size is actually slightly less than the original file):
Environment: