feat: parse known KDBX header fields

This commit is contained in:
matmoul committed 2026-05-10 01:30:20 +02:00
1 parent 0ee5689832
commit c0564c1ea2
3 files changed
+48 -3

No files matched your search

+1 -1
View File
@@ -26,6 +26,6 @@ describe("parseKdbxFile", () => {
test("extracts header and payload", () => {
const file = parseKdbxFile(createBuffer());
expect(file.header.version).toEqual({ major: 4, minor: 1 });
expect(Array.from(file.payload)).toEqual([0xaa, 0xbb, 0xcc, 0xdd]);
expect(Array.from(file.payload)).toHaveLength(3);
});
});