logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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.

Author

       Charles McGarvey <ccm@cpan.org>

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.

Name

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

Version

       version 0.906

See Also