mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-18 04:04:29 -05:00
cd0084f21c
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.
12 lines
328 B
XML
12 lines
328 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<KeyFile xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<Meta>
|
|
<Version>2.0</Version>
|
|
</Meta>
|
|
<Key>
|
|
<Data Hash="FE2949B8">
|
|
A7007945 D07D54BA 28DF6434 1B4500FC
|
|
9750DFB1 D36ADA2D 9C32DC19 4C7AB01B
|
|
</Data>
|
|
</Key>
|
|
</KeyFile> |