Closed aivanovski closed 11 months ago
Hello and thank you for reporting.
This surely can be fixed. Looks like this database contains wrong reference to attached file which was removed. Can you perhaps give a hint which KeePass client was used to save that database? It would be easier for me to reproduce this issue.
@aisbergde Sorry for bothering you, but that information really may help to fix this issue. Thank you!
@aivanovski unfortunately I don't know, how to identify entries containing attached files. Is there any idea how I could find them? I use the same file also on my Windows PC, maybe using any Windows client it would be possible to identify?
@aisbergde Could you name the app that you use on Windows?
For attachment identification, you may try KeePassXC.
I've reproduced this issue and checked how popular KeePass clients react to this situation.
Client | Behaviour |
---|---|
KeePass | Drops invalid attachments |
KeePassXC | Keeps attachments as invalid references |
KeeWeb | Drops invalid attachments |
MacPass | Drops invalid attachments |
I will make decoding more tolerable to such malformed content by dropping invalid references which seems to be acceptable solution for now.
sounds good. Because I can find entries with attached content, but even if I delete it, it will stay in the history. But I don't know what's invalid. If it would be possible to report the entry causing the error also would be helpful.
Ideally I would like to have some logger to track such warning as well as fatal errors. But this is separate feature.
Right now this issue should be fixed in new version 0.6.1
.
The database file was successfully opened. Issue may be closed
Unfortunately I can't provide the database file itself as crash happens not on my device, but maybe it can be fixed.
kotpass version 0.6.0
Original issue