NAME

File::KDBX::Key::Composite - A composite key made up of component keys

VERSION

version 0.906

SYNOPSIS

use File::KDBX::Key::Composite;

my $key = File::KDBX::Key::Composite->(\@component_keys);

DESCRIPTION

A composite key is a collection of other keys. A master key capable of unlocking a KDBX database is always a composite key, even if it only has a single component.

Inherets methods and attributes from File::KDBX::Key.

ATTRIBUTES

keys

\@keys = $key->keys;

Get one or more component File::KDBX::Key.

METHODS

raw_key

$raw_key = $key->raw_key;
$raw_key = $key->raw_key($challenge);

Get the raw key from each component key and return a generated composite raw key.

challenge

$response = $key->challenge(...);

Issues a challenge to any File::KDBX::Key::ChallengeResponse components keys. Arguments are passed through to each component key. The responses are hashed together and the composite response is returned.

Returns empty string if there are no challenge-response components keys.

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.