Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2012
    Posts
    11
    Plugin Contributions
    0

    Default Converting from Cubecart - password conversion?

    Hi all, I've been reading about the MD5 + salt hashes used in Zen cart, but cubecart uses a straight MD5 hash, and I want to convert all my customer's passwords to this new type. Is this even possible? I've been playing around with a test php file to see if I can reverse engineer the password out of the salt, but it doesn't appear that I can.
    I'm hoping not to lose the passwords.

  2. #2
    Join Date
    Jul 2012
    Posts
    11
    Plugin Contributions
    0

    Default Re: Converting from Cubecart - password conversion?

    bump this thread.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Converting from Cubecart - password conversion?

    No, you can't reverse the encryption on the passwords. That's why they're encrypted.

    You might be able to get a script to work by doing something like this:
    a) retrieve the md5-only password
    b) run zen_encrypt_password() on it to get a salted password back
    c) store that salted password in place of the md5-only pwd
    And of course test that it's usable afterward, before running it on your whole list of customers.


    Note: When bumping threads it's customary to add more information about what you've tried, what's worked, what's not worked, etc. Explain more about the bigger picture in case people aren't understanding what you're asking. There's often a reason why a post goes unanswered. Try to resolve that by posting more helpful info.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. moving from cubecart 3 to zencart
    By ian in forum General Questions
    Replies: 2
    Last Post: 14 Jan 2011, 11:36 PM
  2. Converting from CubeCart - Categories on main page
    By aris in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 18 Jul 2007, 07:09 AM
  3. Switch from Cubecart
    By Garrett in forum General Questions
    Replies: 3
    Last Post: 29 Jun 2007, 06:24 PM
  4. Transfer from Cubecart to ZenCart
    By bivvviiv in forum Installing on a Windows Server
    Replies: 2
    Last Post: 9 May 2007, 07:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg