Skip Menu |

This queue is for tickets about the Crypt-CBC CPAN distribution.

Report information
The Basics
Id: 18174
Status: new
Priority: 0/
Queue: Crypt-CBC

People
Owner: Nobody in particular
Requestors: ujvari [...] hungary.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.17
Fixed in: (no value)



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