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

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
  • Comment on Re^6: Crypt::CBC, Blowfish and Salt problem

Replies are listed 'Best First'.
Re^7: Crypt::CBC, Blowfish and Salt problem
by almut (Canon) on Feb 19, 2008 at 00:49 UTC
    ...then rename it to Crypt2/CBC

    You'd also have to change other occurrences of "Crypt::" into "Crypt2::". At a minimum the package directive at the top of the .pm file.  Otherwise, this appears to be a reasonable plan... Good luck!

      Excellent that worked... I copied it to the local user account that I was using... made it Crypt2::CBC, then upgraded Crypt::CBC, and call decryption using Crypt2::CBC and it still works! If I use Crypt::CBC I get my problem to return... so now I just have to build a script to run through the database unecrypt each entry then re-encrypt it with Crypt::CBC so it will be current. I may as well change the key now too, since I have not changed it in years.

      Thanks!!!
      Richard