Subject: | Key handling incosistency |
Dear Author!
Crypt::CBC allows user to force using raw key passed as an argument in
many places in the module, but not while decrypting using RandomIV.
In sub _generate_iv_and_cipher_from_datastream on line 295 contains:
$self->{key} = $self->_key_from_key($self->{passphrase});
I think it should be:
$self->{key} ||= $self->_key_from_key($self->{passphrase});
If you feel it is according to mind of the module, modify it, please!
Best regards,
Aron Ujvari