Changeset 674

Show
Ignore:
Timestamp:
06/24/07 20:46:51 (1 year ago)
Author:
raphael
Message:

Fixed #425: WARNING: KEY or IV has invalid length
Fixed #428: ERROR: External command '/usr/bin/mysql --host=localhost --user=root --pass= < /tmp/db.sql 1>/tmp/db.sql.stdout 2>/tmp/db.sql.stderr' returned '1'

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r673 r674  
    1111\_________________________________________________________________/ 
    1212 
    13 <<<<<<< .mine 
    14 <<<<<<< .mine 
     132007-06-24 Raphael Geissert 
     14        - ENGINE: 
     15                * Fixed #425: WARNING: KEY or IV has invalid length 
     16        - SETUP: 
     17                * Fixed #428: ERROR: External command '/usr/bin/mysql --host=localhost --user=root --pass= < /tmp/db.sql 1>/tmp/db.sql.stdout 2>/tmp/db.sql.stderr' returned '1'  
     18 
    15192007-06-21 Benedikt Heintel 
    1620        - GUI: 
    1721                * PMA Version 2.10.2 
    1822 
    19 ======= 
    20 ======= 
    21232007-06-22 Raphael Geissert 
    2224        - ENGINE: 
     
    3032                * Renamed fastcgi.conf to fastcgi_ispcp.conf to prevent replacing existing fastcgi.conf 
    3133 
    32 >>>>>>> .r672 
    33342007-06-21 Raphael Geissert 
    3435        - SETUP: 
     
    3839                * Added VHCS 2.4.7.1 to ispCP Omega migration script 
    3940 
    40 >>>>>>> .r669 
    41412007-06-20 Benedikt Heintel 
    4242        - GUI: 
  • trunk/engine/ispcp_common_methods.pl

    r672 r674  
    16681668        push_el(\@main::el, 'decrypt_db_password()', 'WARNING: KEY or IV has invalid length'); 
    16691669 
    1670         return (0, ''); 
     1670        return (1, ''); 
    16711671    } 
    16721672 
  • trunk/keys/rpl.pl

    r668 r674  
    1313my ($php_fname, $perl_fname, $perl_fname2) = ($ARGV[0], $ARGV[1], $ARGV[2]); 
    1414 
    15 my $key = gen_sys_rand_num(32); 
    16 my $iv  = gen_sys_rand_num(8); 
     15my $key = gen_sys_rand_num(33); 
     16my $iv  = gen_sys_rand_num(9); 
    1717 
    1818$key =~ s/'/\\'/gi;