DOKK / manpages / debian 12 / libfile-kdbx-perl / File::KDBX::Key::Composite.3pm.en
File::KDBX::Key::Composite(3pm) User Contributed Perl Documentation File::KDBX::Key::Composite(3pm)

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

version 0.906

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

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.

    \@keys = $key->keys;

Get one or more component File::KDBX::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.

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

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.

2022-11-20 perl v5.36.0