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