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