xref: /freebsd/contrib/file/magic/Magdir/keepass (revision 48c779cdecb5f803e5fe5d761987e976ca9609db)
1b6cee71dSXin LI
2b6cee71dSXin LI#------------------------------------------------------------------------------
3*48c779cdSXin LI# $File: keepass,v 1.2 2019/04/19 00:42:27 christos Exp $
4b6cee71dSXin LI# keepass: file(1) magic for KeePass file
5b6cee71dSXin LI#
6b6cee71dSXin LI# Keepass Password Safe:
7*48c779cdSXin LI#  * original one: https://keepass.info/
8*48c779cdSXin LI#  * *nix port:    https://www.keepassx.org/
9*48c779cdSXin LI#  * android port: https://code.google.com/p/keepassdroid/
10b6cee71dSXin LI
11b6cee71dSXin LI0	lelong		0x9AA2D903	Keepass password database
12b6cee71dSXin LI>4	lelong		0xB54BFB65	1.x KDB
13b6cee71dSXin LI>>48	lelong		>0		\b, %d groups
14b6cee71dSXin LI>>52	lelong		>0		\b, %d entries
15b6cee71dSXin LI>>8	lelong&0x0f	1		\b, SHA-256
16b6cee71dSXin LI>>8	lelong&0x0f	2		\b, AES
17b6cee71dSXin LI>>8	lelong&0x0f	4		\b, RC4
18b6cee71dSXin LI>>8	lelong&0x0f	8		\b, Twofish
19b6cee71dSXin LI>>120	lelong		>0		\b, %d key transformation rounds
20b6cee71dSXin LI>4	lelong		0xB54BFB67	2.x KDBX
21