transfer encrypted mailpass from RC7 to 1.0 on another server - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Update/Upgrade (/forum-44.html) +--- Thread: transfer encrypted mailpass from RC7 to 1.0 on another server (/thread-5950.html) |
transfer encrypted mailpass from RC7 to 1.0 on another server - Catscrash - 03-06-2009 11:15 PM Hi, i'm moving from a server with RC7 (which has already encrypted emailpasswords for users) to a server with 1.0 I created the old mailboxes on the new server with a temporary password and tried then to copy the old encrypted passwords from ispcp.mail_users Did the encryption change? Cause that doesn't work... I can't Email a lot of users and say them, sry folks i just changed all ur passwords to "xyz" ;-) Thanks for every help RE: transfer encrypted mailpass from RC7 to 1.0 on another server - sci2tech - 03-07-2009 01:56 AM Encryption depends on keys from ispcp-db-keys.* You need to decrypt password on old server, then reencrypt with keys from the new server. then it will work RE: transfer encrypted mailpass from RC7 to 1.0 on another server - Catscrash - 03-07-2009 02:26 AM okay, that makes sense, how to decrypt the passwords on old server? thx! RE: transfer encrypted mailpass from RC7 to 1.0 on another server - kilburn - 03-10-2009 02:43 AM $db_pass is the encrypted/unencrypted password, and the other values can be found on the /var/www/ispcp/gui/include/ispcp-db-keys.php file of the corresponding server. Code: function decrypt_db_password ($db_pass, $ispcp_db_pass_key, $ispcp_db_pass_iv) { Code: function encrypt_db_password($db_pass, $ispcp_db_pass_key, $ispcp_db_pass_iv){ |