in reply to Re^2: Crypt::CBC, Blowfish and Salt problem
in thread Crypt::CBC, Blowfish and Salt problem

What Sam wrote above sounds like a good hypothesis... Have you tried that?

If all else fails, you might also consider downgrading to pre-2.17 (temporarily, to get operational again) and then work out a way to migrate your old encrypted data to the new style usage/encoding.  For that, it's probably a good idea to install the old version into some private location, and then put use lib "/path/to/old/module"; at the top of the script.

Replies are listed 'Best First'.
Re^4: Crypt::CBC, Blowfish and Salt problem
by Anonymous Monk on Feb 18, 2008 at 23:37 UTC
    yeah I thought of that, but I don't see where to get 2.16 at... any ideas?

    thanks,
    Richard

      You can select from "Other releases" on search.cpan.org — e.g. version 2.15 (dunno what happened to 2.16).

        Ok, I downloaded and installed v2.15...

        I installed it with the instructions:

        perl Makefile.PL
        make
        make test
        make install

        and it overwrote my current version... so I guess what I'll do is copy the path to a different location then upgrade it again... then rename it to Crypt2/CBC so I can decrypt everything, then run Crypt::CBC to encrypt it again with the new system... that should work, right?
        What do you think?


        Thanks,
        Richard
Re^4: Crypt::CBC, Blowfish and Salt problem
by Anonymous Monk on Aug 19, 2008 at 20:51 UTC
    If you take out the -salt = >1 and add: -header => 'randomiv' it works.