File::KDBX::Dumper::Raw(3p)

NAME
File::KDBX::Dumper::Raw - A no-op dumper that dumps content as-is

VERSION
version 0.906

SYNOPSIS
    use File::KDBX::Dumper;
    use File::KDBX;

    my $kdbx = File::KDBX->new;
    $kdbx->raw("Secret file contents\n");

    $kdbx->dump_file('file.kdbx', $key, inner_format => 'Raw');
    # OR
    File::KDBX::Dumper->dump_file('file.kdbx', $key,
        kdbx => $kdbx,
        inner_format => 'Raw',
    );

DESCRIPTION
A typical KDBX file is made up of an outer section (with headers) and an inner section (with the body). The inner section is usually dumped using File::KDBX::Dumper::XML, but you can use the File::KDBX::Dumper::Raw dumper to just write some arbitrary data as the body content. The result won't necessarily be parseable by typical KeePass implementations, but it can be read back using File::KDBX::Loader::Raw. It's a way to encrypt any file with the same high level of security as a KDBX database.

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.