annotate tests/valid.dump @ 6:1c0e7f79e737

Fix incorrect field size for text fields The field size should be the string length excluding the terminating null byte which is there for convenience only when using the C API and not part of the on-disk format.
author Guido Berhoerster <guido+libpws@berhoerster.name>
date Thu, 10 Jan 2019 09:35:16 +0100
parents dfd3ddbdb201
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
1 # Passwordsafe v3 database dump
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
2 Header
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
3 00:030b
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
4 01:ddba98acd8fb027626c0a1c3212e0a12
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
5 03:111
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
6 04:2016-05-10T10:35:29Z
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
7 06:pwsdump 1.0.0
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
8 07:user
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
9 08:host
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
10 11:foo
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
11 11:foo.bar
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
12 Record 1
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
13 01:091e87b0f8beca00d53d7bceac4580bf
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
14 02:foo.bar.baz
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
15 03:Bla
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
16 04:Joe
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
17 06:PaSsWoRd
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
18 07:2016-07-27T19:35:31Z
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
19 08:2016-07-27T19:35:31Z
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
20 0c:2016-07-27T19:35:53Z
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
21 Record 2
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
22 01:6f452a3189b724df91b241adcf793621
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
23 02:foo.bar.baz
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
24 03:Waldo
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
25 04:Joe
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
26 06:pAsSwOrD
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
27 07:2016-07-29T08:01:22Z
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
28 08:2016-07-29T08:01:22Z
dfd3ddbdb201 Add tests
Guido Berhoerster <guido+libpws@berhoerster.name>
parents:
diff changeset
29 0c:2016-07-29T08:01:45Z