keepassxc/tests
Janek Bevendorff 23ca46c918 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.
2021-01-07 22:02:43 -05:00
..
data Add support for version 2 XML key files. 2021-01-07 22:02:43 -05:00
gui
mock
stub
util
CMakeLists.txt
config-keepassx-tests.h.cmake
FailDevice.cpp
FailDevice.h
modeltest.cpp
modeltest.h
TestAutoType.cpp Refactor Config. 2020-05-02 22:30:27 +02:00
TestAutoType.h
TestBase32.cpp
TestBase32.h
TestBrowser.cpp
TestBrowser.h Fix Best-Matching ..again (#5316) 2020-09-13 10:38:19 -04:00
TestCli.cpp
TestCli.h CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
TestConfig.cpp
TestConfig.h
TestCryptoHash.cpp
TestCryptoHash.h
TestCsvExporter.cpp
TestCsvExporter.h
TestCsvParser.cpp
TestCsvParser.h
TestDatabase.cpp
TestDatabase.h
TestDeletedObjects.cpp
TestDeletedObjects.h
TestEntry.cpp Add natural sort of entry list 2020-05-22 12:13:20 -04:00
TestEntry.h
TestEntryModel.cpp Replace database icons with SVG's 2020-05-29 10:00:32 -04:00
TestEntryModel.h
TestEntrySearcher.cpp
TestEntrySearcher.h
TestFdoSecrets.cpp
TestFdoSecrets.h
TestGlobal.h
TestGroup.cpp
TestGroup.h
TestGroupModel.cpp
TestGroupModel.h
TestHashedBlockStream.cpp
TestHashedBlockStream.h
TestHibp.cpp CLI: add 'analyze' subcommand for offline HIBP breach checks 2019-06-25 15:37:40 -04:00
TestHibp.h CLI: add 'analyze' subcommand for offline HIBP breach checks 2019-06-25 15:37:40 -04:00
TestKdbx2.cpp
TestKdbx2.h
TestKdbx3.cpp Ensure challenge-response key buffer is properly cleared. 2020-01-11 11:16:03 +01:00
TestKdbx3.h
TestKdbx4.cpp
TestKdbx4.h
TestKeePass1Reader.cpp Replace database icons with SVG's 2020-05-29 10:00:32 -04:00
TestKeePass1Reader.h Refactor Database and Database widgets (#2491) 2018-11-22 11:47:31 +01:00
TestKeePass2Format.cpp
TestKeePass2Format.h
TestKeePass2RandomStream.cpp
TestKeePass2RandomStream.h
TestKeys.cpp Add support for version 2 XML key files. 2021-01-07 22:02:43 -05:00
TestKeys.h
TestMerge.cpp
TestMerge.h
TestModified.cpp
TestModified.h
TestOpenSSHKey.cpp
TestOpenSSHKey.h Add sharing of groups between databases 2018-10-01 10:39:37 -04:00
TestOpVaultReader.cpp
TestOpVaultReader.h
TestPassphraseGenerator.cpp
TestPassphraseGenerator.h
TestPasswordGenerator.cpp Allow defining additional characters for the password generator 2020-03-09 23:35:55 -04:00
TestPasswordGenerator.h
TestPasswordHealth.cpp Implement Password Health Report 2020-02-01 09:30:12 -05:00
TestPasswordHealth.h Implement Password Health Report 2020-02-01 09:30:12 -05:00
TestRandomGenerator.cpp Add sharing of groups between databases 2018-10-01 10:39:37 -04:00
TestRandomGenerator.h
TestSharing.cpp
TestSharing.h
TestSignature.cpp Add sharing of groups between databases 2018-10-01 10:39:37 -04:00
TestSignature.h Add sharing of groups between databases 2018-10-01 10:39:37 -04:00
TestSSHAgent.cpp
TestSSHAgent.h
TestSymmetricCipher.cpp Fixes for minor issues found by static analysis 2020-02-02 08:46:58 -05:00
TestSymmetricCipher.h
TestTools.cpp Substitute tilde with USERPROFILE on Windows 2020-07-18 09:24:22 -04:00
TestTools.h Implement SSH key file path env substitution 2020-01-27 22:57:31 -05:00
TestTotp.cpp
TestTotp.h
TestUpdateCheck.cpp
TestUpdateCheck.h
TestWildcardMatcher.cpp
TestWildcardMatcher.h
TestYkChallengeResponseKey.cpp
TestYkChallengeResponseKey.h