hmm, sorry, i´ve send a patch for the Crypt::CBC problem
directly to Brian;-). Here is the mail for the list....
Doctor PC - Brian O'Donnell wrote:
> Hello
>
> I am getting internal server errors after migrating to a new server. Here
> are the lines from the error log:
>
> [Wed Jun 14 07:33:20 2006] [error] [client xx.xxx.xx.xxx] Premature end of
> script headers: /xxxx/xxxx/xxxx/xxxx/manage.cgi
> Ciphertext does not begin with a valid header for 'salt' header mode at
> /xxxx/xxxx/xxxx/OpenSRS/XML_Client.pm line 842
>
> Can anybody out there help me figure out how to fix this?
This is an bug in the CBC_Connector.pm file, if you use
Crypt::CBC v2.17. You can patch this file...
Line 241:
- $self->{_cipher} = new Crypt::CBC(pack('H*', $private_key),
$self->{crypt_type});
+ if($Crypt::CBC::VERSION >= 2.17){
+ $self->{_cipher} = new Crypt::CBC(
+ -key => pack('H*', $private_key),
+ -cipher => $self->{crypt_type},
+ -header => 'randomiv'
+ );
+ } else {
+ $self->{_cipher} = new Crypt::CBC(pack('H*', $private_key),
$self->{crypt_type});
+}
Neil
_______________________________________________
domains-dev mailing list
[email protected]
http://discuss.tucows.com/mailman/listinfo/domains-dev