Skip to content

kdbxweb creates corrupted kdbx 4 database #49

Open
@AlBundy33

Description

@AlBundy33

see
keeweb/keeweb#2001
https://sourceforge.net/p/keepass/bugs/2231/
https://keepass.info/help/kb/kdbx_4.1.html#cd_lastmod

after reading the source I would assume that the issue is maybe here

XmlUtils.setDate(

this line calls setDate

export function setDate(node: Node, date: Date | undefined, binary = false): void {

with only two arguments and therefore binary is false and the date is written as iso-string instead of base64

because the lastModificationTime is only written for dataases >= 4.1 - so it should be save to add the third parameter with true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type ◦ BugSomething isn't working⚠ UrgentRequires urgent attention

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions