Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: decryption problem

by andyford (Curate)
on Aug 30, 2007 at 18:12 UTC ( [id://636154]=note: print w/replies, xml ) Need Help??


in reply to decryption problem

Assuming (naively, perhaps!) that the error actually is reporting the problem accurately, and just from general principles, you wouldn't think that a client could modify your hard-coded salt value.

Did you check for some other instance of salt where it's a variable supplied by the client?

I noticed in the module docs that the salt option has something to do with OpenSSL. Could your OpenSSL version have changed in the server switch?

Can you work up a complete broken example?

non-Perl: Andy Ford

Replies are listed 'Best First'.
Re^2: decryption problem
by Anonymous Monk on Aug 31, 2007 at 15:12 UTC
    Yes, the OpenSSL version may have changed.

    Should I require everyone to change their password, so that it will update the 'salt'? I don't know how it stores the salt, maybe as part of the encrypted string, but I don't know enough about it.

    I will see if I can find out the version differences.

    Now what about data I cannot access at all, because of the salt problem? Is it just lost without hope?

    Thank again!
    Rick
      What about installing the old server's version of OpenSSL? Sorry I'm not much help, I've never used encryption directly like this, I'm just helping you guess.

      non-Perl: Andy Ford

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://636154]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-25 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found