xref: /freebsd/contrib/file/magic/Magdir/gringotts (revision c2c014f24c10f90d85126ac5fbd4d8524de32b1c)
1b6cee71dSXin LI
2b6cee71dSXin LI#------------------------------------------------------------------------------
3*40427ccaSGordon Tetlow# $File: gringotts,v 1.6 2017/03/17 21:35:28 christos Exp $
4b6cee71dSXin LI# gringotts:  file(1) magic for Gringotts
5b6cee71dSXin LI# http://devel.pluto.linux.it/projects/Gringotts/
6b6cee71dSXin LI# author: Germano Rizzo <mano@pluto.linux.it>
7b6cee71dSXin LI#GRG3????Y
8b6cee71dSXin LI0	string	GRG		Gringotts data file
9b6cee71dSXin LI#file format 1
10b6cee71dSXin LI>3	string		1		v.1, MCRYPT S2K, SERPENT crypt, SHA-256 hash, ZLib lvl.9
11b6cee71dSXin LI#file format 2
12b6cee71dSXin LI>3	string		2		v.2, MCRYPT S2K,
13b6cee71dSXin LI>>8	byte&0x70	0x00		RIJNDAEL-128 crypt,
14b6cee71dSXin LI>>8	byte&0x70	0x10		SERPENT crypt,
15b6cee71dSXin LI>>8	byte&0x70	0x20		TWOFISH crypt,
16b6cee71dSXin LI>>8	byte&0x70	0x30		CAST-256 crypt,
17b6cee71dSXin LI>>8	byte&0x70	0x40		SAFER+ crypt,
18b6cee71dSXin LI>>8	byte&0x70	0x50		LOKI97 crypt,
19b6cee71dSXin LI>>8	byte&0x70	0x60		3DES crypt,
20b6cee71dSXin LI>>8	byte&0x70	0x70		RIJNDAEL-256 crypt,
21b6cee71dSXin LI>>8	byte&0x08	0x00		SHA1 hash,
22b6cee71dSXin LI>>8	byte&0x08	0x08		RIPEMD-160 hash,
23b6cee71dSXin LI>>8	byte&0x04	0x00		ZLib
24b6cee71dSXin LI>>8	byte&0x04	0x04		BZip2
25b6cee71dSXin LI>>8	byte&0x03	0x00		lvl.0
26b6cee71dSXin LI>>8	byte&0x03	0x01		lvl.3
27b6cee71dSXin LI>>8	byte&0x03	0x02		lvl.6
28b6cee71dSXin LI>>8	byte&0x03	0x03		lvl.9
29b6cee71dSXin LI#file format 3
30b6cee71dSXin LI>3	string		3		v.3, OpenPGP S2K,
31b6cee71dSXin LI>>8	byte&0x70	0x00		RIJNDAEL-128 crypt,
32b6cee71dSXin LI>>8	byte&0x70	0x10		SERPENT crypt,
33b6cee71dSXin LI>>8	byte&0x70	0x20		TWOFISH crypt,
34b6cee71dSXin LI>>8	byte&0x70	0x30		CAST-256 crypt,
35b6cee71dSXin LI>>8	byte&0x70	0x40		SAFER+ crypt,
36b6cee71dSXin LI>>8	byte&0x70	0x50		LOKI97 crypt,
37b6cee71dSXin LI>>8	byte&0x70	0x60		3DES crypt,
38b6cee71dSXin LI>>8	byte&0x70	0x70		RIJNDAEL-256 crypt,
39b6cee71dSXin LI>>8	byte&0x08	0x00		SHA1 hash,
40b6cee71dSXin LI>>8	byte&0x08	0x08		RIPEMD-160 hash,
41b6cee71dSXin LI>>8	byte&0x04	0x00		ZLib
42b6cee71dSXin LI>>8	byte&0x04	0x04		BZip2
43b6cee71dSXin LI>>8	byte&0x03	0x00		lvl.0
44b6cee71dSXin LI>>8	byte&0x03	0x01		lvl.3
45b6cee71dSXin LI>>8	byte&0x03	0x02		lvl.6
46b6cee71dSXin LI>>8	byte&0x03	0x03		lvl.9
47b6cee71dSXin LI#file format >3
48b6cee71dSXin LI>3	string		>3		v.%.1s (unknown details)
49