keepassxc/tests/data
Janek Bevendorff cd0084f21c Add support for version 2 XML key files.
As discussed in #4317, the next KeePass2 release will ship with
support for a new generation of XML key files which enable
hash integrity checks.

This patch adds support for reading and generating this new format.
By default, KeePass2 now uses the .keyx extension for generated
key files, which was added to KeePassXC's key generation file chooser
filter. We continue to generate hashed binary key files by default,
but the user can explicitly save the file with the new .keyx
extension to generate an XML v2 key file (currently undocumented).

When opening a database, the key file type is still determined
by content negotation, so the file extension has no impact here.

As an additional change, the legacy key file warnings have been
improved slightly to be less confusing and more helpful.
2020-12-19 09:42:21 -05:00
..
dbus FdoSecrets: add unit tests 2020-05-27 22:07:25 -04:00
keepassxc.opvault/default Improve OPVault handling and replace test opvault 2020-05-14 15:17:28 -04:00
basic.kdb Import Auto-Type associations in KeePass1Reader. 2012-07-19 23:21:12 +02:00
BrokenDeletedObjects.xml Introduce a strict mode in KeePass2XmlReader. 2014-12-01 21:52:51 +01:00
BrokenDifferentEntryHistoryUuid.xml Repair UUID of inconsistent history items. 2016-08-03 23:48:40 +02:00
BrokenGroupReference.xml Introduce a strict mode in KeePass2XmlReader. 2014-12-01 21:52:51 +01:00
BrokenHeaderHash.kdbx Add support for database format 3.01 (HeaderHash). 2012-09-25 22:33:36 +02:00
BrokenNoEntryUuid.xml Introduce a strict mode in KeePass2XmlReader. 2014-12-01 21:52:51 +01:00
BrokenNoGroupUuid.xml Add tests for broken databases. 2013-04-29 22:31:50 +02:00
BrokenNoRootGroup.xml Add tests for broken databases. 2013-04-29 22:31:50 +02:00
BrokenTwoRootGroups.xml Raise error if we don't find exactly one root group. 2013-04-29 22:31:50 +02:00
BrokenTwoRoots.xml Raise error if we don't find exactly one root group. 2013-04-29 22:31:50 +02:00
CompositeKey.kdb Add tests for opening KeePass 1 databases with different keyfiles. 2012-05-10 19:34:55 +02:00
Compressed.kdbx Add support for database format 3.01 (HeaderHash). 2012-09-25 22:33:36 +02:00
CP-1252.kdb Add test for a non-ascii password. 2012-05-10 21:29:10 +02:00
CP-1252.kdb.key Add test for a non-ascii password. 2012-05-10 21:29:10 +02:00
EmptyUuids.xml Add missing EmptyUuids.xml test file. 2015-07-14 22:20:56 +02:00
FileKeyBinary.kdb Add tests for opening KeePass 1 databases with different keyfiles. 2012-05-10 19:34:55 +02:00
FileKeyBinary.kdbx Implement support for key files. 2011-12-21 23:22:07 +01:00
FileKeyBinary.key Implement support for key files. 2011-12-21 23:22:07 +01:00
FileKeyHashed2.key Add MockChallengeResponseKey and additional composite key component test 2018-03-01 19:26:18 -05:00
FileKeyHashed.kdb Add tests for opening KeePass 1 databases with different keyfiles. 2012-05-10 19:34:55 +02:00
FileKeyHashed.kdbx Implement support for key files. 2011-12-21 23:22:07 +01:00
FileKeyHashed.key Implement support for key files. 2011-12-21 23:22:07 +01:00
FileKeyHex.kdb Add tests for opening KeePass 1 databases with different keyfiles. 2012-05-10 19:34:55 +02:00
FileKeyHex.kdbx Implement support for key files. 2011-12-21 23:22:07 +01:00
FileKeyHex.key Implement support for key files. 2011-12-21 23:22:07 +01:00
FileKeyXml.kdbx Implement support for key files. 2011-12-21 23:22:07 +01:00
FileKeyXml.key Implement support for key files. 2011-12-21 23:22:07 +01:00
FileKeyXmlBrokenBase64.kdbx Check XML key file for valid base64 before using it. 2015-11-01 18:32:15 +01:00
FileKeyXmlBrokenBase64.key Check XML key file for valid base64 before using it. 2015-11-01 18:32:15 +01:00
FileKeyXmlV2.kdbx Add support for version 2 XML key files. 2020-12-19 09:42:21 -05:00
FileKeyXmlV2.keyx Add support for version 2 XML key files. 2020-12-19 09:42:21 -05:00
FileKeyXmlV2BrokenHex.kdbx Add support for version 2 XML key files. 2020-12-19 09:42:21 -05:00
FileKeyXmlV2BrokenHex.keyx Add support for version 2 XML key files. 2020-12-19 09:42:21 -05:00
FileKeyXmlV2HashFail.kdbx Add support for version 2 XML key files. 2020-12-19 09:42:21 -05:00
FileKeyXmlV2HashFail.keyx Add support for version 2 XML key files. 2020-12-19 09:42:21 -05:00
Format200.kdbx Support KeePass format 3.00 (used by KeePass2 >= 2.15). 2012-04-21 16:45:46 +02:00
Format300.kdbx Add support for database format 3.01 (HeaderHash). 2012-09-25 22:33:36 +02:00
Format400.kdbx Implements KDBX4 format with Argon2 KDF 2018-01-13 14:24:55 -05:00
hibp.txt CLI: add 'analyze' subcommand for offline HIBP breach checks 2019-06-25 15:37:40 -04:00
KeyFileProtected.kdbx Adding --no-password option to CLI 2019-03-24 09:23:26 -04:00
KeyFileProtected.key Adding --no-password option to CLI 2019-03-24 09:23:26 -04:00
KeyFileProtectedNoPassword.kdbx Adding --no-password option to CLI 2019-03-24 09:23:26 -04:00
KeyFileProtectedNoPassword.key Adding --no-password option to CLI 2019-03-24 09:23:26 -04:00
MergeDatabase.kdbx Add Merge database utility function (#47) 2016-11-07 22:37:42 -05:00
NewDatabase2.kdbx CLI: add commands to show and copy TOTP to clipboard (#2454) 2018-11-09 21:58:42 -05:00
NewDatabase.kdbx Add --username option to Clip command. (#3947) 2020-01-30 15:46:48 -05:00
NewDatabase.xml Properly save custom header data 2018-02-21 13:23:14 +01:00
NewDatabaseBrowser.kdbx Complete refactor of Browser Integration classes 2020-05-14 17:14:17 -04:00
NewDatabaseMulti.kdbx Add a best option to CLI command clip (#4489) 2020-08-31 23:06:27 -04:00
NonAscii.kdbx Add support for database format 3.01 (HeaderHash). 2012-09-25 22:33:36 +02:00
NonAscii.kdbx.key Support KeePass format 3.00 (used by KeePass2 >= 2.15). 2012-04-21 16:45:46 +02:00
OutdatedConfig.ini Change settings checkbox texts to positive phrasing (#4715) 2020-05-10 21:35:08 -04:00
ProtectedStrings.kdbx Add support for database format 3.01 (HeaderHash). 2012-09-25 22:33:36 +02:00
RecycleBinDisabled.kdbx Add skeleton for TestDatabase.cpp and test data for unit tests for the "empty recycle bin" functionality 2017-04-22 12:38:36 +03:00
RecycleBinEmpty.kdbx Add skeleton for TestDatabase.cpp and test data for unit tests for the "empty recycle bin" functionality 2017-04-22 12:38:36 +03:00
RecycleBinNotYetCreated.kdbx Add skeleton for TestDatabase.cpp and test data for unit tests for the "empty recycle bin" functionality 2017-04-22 12:38:36 +03:00
RecycleBinWithData.kdbx Add skeleton for TestDatabase.cpp and test data for unit tests for the "empty recycle bin" functionality 2017-04-22 12:38:36 +03:00
Twofish.kdb Support Twofish encrypted KeePass 1 databases. 2012-05-10 21:06:33 +02:00
YubiKeyProtectedPasswords.kdbx CLI: Add Yubikey unlock support 2019-09-22 18:11:40 -04:00