File::KDBX::Dumper::XML - Dump unencrypted XML KeePass files
version 0.906
$bool = $dumper->allow_protection;
Get whether or not protected strings and binaries should be written in an encrypted stream. Default: TRUE
TRUE
$bool = $dumper->binaries;
Get whether or not binaries within the database should be written. Default: TRUE
$tristate = $dumper->compress_binaries;
Get whether or not to compress binaries. Possible values:
TRUE - Always compress binaries
FALSE - Never compress binaries
FALSE
undef - Compress binaries if it results in smaller database sizes (default)
undef
$bool = $dumper->compress_datetimes;
Get whether or not to write compressed datetimes. Datetimes are traditionally written in the human-readable string format of 1970-01-01T00:00:00Z, but they can also be written in a compressed form to save some bytes. The default is to write compressed datetimes if the KDBX file version is 4+, otherwise use the human-readable format.
1970-01-01T00:00:00Z
$octets = $dumper->header_hash;
Get the value to be written as the HeaderHash in the Meta section. This is the way KDBX3 files validate the authenticity of header data. This is unnecessary and should not be used with KDBX4 files because that format uses HMAC-SHA256 to detect tampering.
File::KDBX::Dumper::V3 automatically calculates the header hash an provides it to this module, and plain XML files which don't have a KDBX wrapper don't have headers and so should not have a header hash. Therefore there is probably never any reason to set this manually.
Please report any bugs or feature requests on the bugtracker website https://github.com/chazmcgarvey/File-KDBX/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Charles McGarvey <ccm@cpan.org>
This software is copyright (c) 2022 by Charles McGarvey.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install File::KDBX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::KDBX
CPAN shell
perl -MCPAN -e shell install File::KDBX
For more information on module installation, please visit the detailed CPAN module installation guide.