The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

File::KDBX::Dumper::XML - Dump unencrypted XML KeePass files

VERSION

version 0.906

ATTRIBUTES

allow_protection

    $bool = $dumper->allow_protection;

Get whether or not protected strings and binaries should be written in an encrypted stream. Default: TRUE

binaries

    $bool = $dumper->binaries;

Get whether or not binaries within the database should be written. Default: TRUE

compress_binaries

    $tristate = $dumper->compress_binaries;

Get whether or not to compress binaries. Possible values:

  • TRUE - Always compress binaries

  • FALSE - Never compress binaries

  • undef - Compress binaries if it results in smaller database sizes (default)

compress_datetimes

    $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.

header_hash

    $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.

BUGS

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.

AUTHOR

Charles McGarvey <ccm@cpan.org>

COPYRIGHT AND LICENSE

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.