Skip Menu |

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

Report information
The Basics
Id: 63293
Status: resolved
Priority: 0/
Queue: Crypt-Rijndael_PP

People
Owner: delta [...] lackas.net
Requestors: justincase [...] yopmail.com
Cc:
AdminCc:

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



Subject: Missing set_iv method
I was hoping to use this module as a fallback if a user doesn't have Crypt::Rijndael, but the interface is not identical. The set_iv method is missing and there is an unnecessary warning issued for key sizes that are not 256 bits. I can hack around those, but the goal of a fallback module is to mimic the interface of the primary module as much as possible so that it may be dropped in without any needed changes.
On Tue Nov 23 21:49:25 2010, justincase wrote: Hi justincase, if possible please provide a patch with tests. Thanks, Christian Show quoted text
> I was hoping to use this module as a fallback if a user doesn't have > Crypt::Rijndael, but the interface is not identical. The set_iv method > is missing and there is an unnecessary warning issued for key sizes that > are not 256 bits. I can hack around those, but the goal of a fallback > module is to mimic the interface of the primary module as much as > possible so that it may be dropped in without any needed changes.
Additionally, you should consider using CBC::Crypt, which actually does allow you to set the IV and use this module as a drop in for Crypt::Rijndael.
Requestor did not reply again, so I assume his problem was solved, one way or the other.