Bug#356810: Acknowledgement (libcrypt-cbc-perl: behaviour-change; header_iv bugs (both sending as receiving))

Bas van Sisseren bas at dnd.utwente.nl
Tue Mar 14 09:12:58 UTC 2006


About item 4:
   To work around the problems i've had, I encoded my data with:
     my $encrypted = 'RandomIV'.$crypt->iv.$crypt->encrypt("some data");

   Since the iv is not generated in the constructor but at the moment we
   start encrypting, the iv was undef/'', and my test failed.

   I've retested the library with:
     my $encrypted = $crypt->encrypt("some data");
     $encrypted = 'RandomIV'.$crypt->iv.$encrypted;

   This worked without any problems, so scrap bugreport item 4 :)

-- 
Bas van Sisseren <bas at dnd.utwente.nl>




More information about the pkg-perl-maintainers mailing list