File::KDBX::Key::Composite3pm
A composite key made up of component keys
Usage
use File::KDBX::Key::Composite;my $key = File::KDBX::Key::Composite->(\@component_keys);
Version
version 0.906
Overview
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.
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.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.