xref: /dflybsd-src/contrib/file/magic/Magdir/gringotts (revision c30bd0917bb6a625e80a835271887a7812787d1c)
1327e51cbSPeter Avalos
2327e51cbSPeter Avalos#------------------------------------------------------------------------------
3*c30bd091SSascha Wildner# $File: gringotts,v 1.6 2017/03/17 21:35:28 christos Exp $
4327e51cbSPeter Avalos# gringotts:  file(1) magic for Gringotts
5327e51cbSPeter Avalos# http://devel.pluto.linux.it/projects/Gringotts/
6327e51cbSPeter Avalos# author: Germano Rizzo <mano@pluto.linux.it>
7327e51cbSPeter Avalos#GRG3????Y
8327e51cbSPeter Avalos0	string	GRG		Gringotts data file
9327e51cbSPeter Avalos#file format 1
10327e51cbSPeter Avalos>3	string		1		v.1, MCRYPT S2K, SERPENT crypt, SHA-256 hash, ZLib lvl.9
11327e51cbSPeter Avalos#file format 2
12327e51cbSPeter Avalos>3	string		2		v.2, MCRYPT S2K,
13327e51cbSPeter Avalos>>8	byte&0x70	0x00		RIJNDAEL-128 crypt,
14327e51cbSPeter Avalos>>8	byte&0x70	0x10		SERPENT crypt,
15327e51cbSPeter Avalos>>8	byte&0x70	0x20		TWOFISH crypt,
16327e51cbSPeter Avalos>>8	byte&0x70	0x30		CAST-256 crypt,
17327e51cbSPeter Avalos>>8	byte&0x70	0x40		SAFER+ crypt,
18327e51cbSPeter Avalos>>8	byte&0x70	0x50		LOKI97 crypt,
19327e51cbSPeter Avalos>>8	byte&0x70	0x60		3DES crypt,
20327e51cbSPeter Avalos>>8	byte&0x70	0x70		RIJNDAEL-256 crypt,
21327e51cbSPeter Avalos>>8	byte&0x08	0x00		SHA1 hash,
22327e51cbSPeter Avalos>>8	byte&0x08	0x08		RIPEMD-160 hash,
23327e51cbSPeter Avalos>>8	byte&0x04	0x00		ZLib
24327e51cbSPeter Avalos>>8	byte&0x04	0x04		BZip2
25327e51cbSPeter Avalos>>8	byte&0x03	0x00		lvl.0
26327e51cbSPeter Avalos>>8	byte&0x03	0x01		lvl.3
27327e51cbSPeter Avalos>>8	byte&0x03	0x02		lvl.6
28327e51cbSPeter Avalos>>8	byte&0x03	0x03		lvl.9
29327e51cbSPeter Avalos#file format 3
30327e51cbSPeter Avalos>3	string		3		v.3, OpenPGP S2K,
31327e51cbSPeter Avalos>>8	byte&0x70	0x00		RIJNDAEL-128 crypt,
32327e51cbSPeter Avalos>>8	byte&0x70	0x10		SERPENT crypt,
33327e51cbSPeter Avalos>>8	byte&0x70	0x20		TWOFISH crypt,
34327e51cbSPeter Avalos>>8	byte&0x70	0x30		CAST-256 crypt,
35327e51cbSPeter Avalos>>8	byte&0x70	0x40		SAFER+ crypt,
36327e51cbSPeter Avalos>>8	byte&0x70	0x50		LOKI97 crypt,
37327e51cbSPeter Avalos>>8	byte&0x70	0x60		3DES crypt,
38327e51cbSPeter Avalos>>8	byte&0x70	0x70		RIJNDAEL-256 crypt,
39327e51cbSPeter Avalos>>8	byte&0x08	0x00		SHA1 hash,
40327e51cbSPeter Avalos>>8	byte&0x08	0x08		RIPEMD-160 hash,
41327e51cbSPeter Avalos>>8	byte&0x04	0x00		ZLib
42327e51cbSPeter Avalos>>8	byte&0x04	0x04		BZip2
43327e51cbSPeter Avalos>>8	byte&0x03	0x00		lvl.0
44327e51cbSPeter Avalos>>8	byte&0x03	0x01		lvl.3
45327e51cbSPeter Avalos>>8	byte&0x03	0x02		lvl.6
46327e51cbSPeter Avalos>>8	byte&0x03	0x03		lvl.9
47327e51cbSPeter Avalos#file format >3
48327e51cbSPeter Avalos>3	string		>3		v.%.1s (unknown details)
49