2 # Contributed by Josh Triplett
3 # FIXME: Could be simplified if pstring supported two-byte counts
4 0 string GnomeKeyring\n\r\0\n GNOME keyring
5 >&0 ubyte 0 \b, major version 0
6 >>&0 ubyte 0 \b, minor version 0
7 >>>&0 ubyte 0 \b, crypto type 0 (AEL)
8 >>>&0 ubyte >0 \b, crypto type %hhu (unknown)
9 >>>&1 ubyte 0 \b, hash type 0 (MD5)
10 >>>&1 ubyte >0 \b, hash type %hhu (unknown)
11 >>>&2 ubelong 0xFFFFFFFF \b, name NULL
12 >>>&2 ubelong !0xFFFFFFFF
13 >>>>&-4 ubelong >255 \b, name too long for file's pstring type
15 >>>>>&-1 pstring x \b, name "%s"
16 >>>>>>&0 ubeqdate x \b, last modified %s
17 >>>>>>&8 ubeqdate x \b, created %s
19 >>>>>>>&0 ubelong x \b, locked if idle for %u seconds
20 >>>>>>&16 ubelong ^1 \b, not locked if idle
21 >>>>>>&24 ubelong x \b, hash iterations %u
22 >>>>>>&28 ubequad x \b, salt %llu
23 >>>>>>&52 ubelong x \b, %u item(s)