Having been stymied on this for a bit before posting, after posting, I 
came to the conclusion that perhaps this was an "older version doesn't 
like newer package" situation, so I grabbed v3.0.0. After some cajoling, 
it's basically at the same point, but with slightly different text:

[Wed May 14 18:00:52 2008] [error] [client xx.xx.xx.xx] Ciphertext does 
not begin with a valid header for 'randomiv' header mode at 
/usr/local/opensrs-client-3.0.0/lib/OpenSRS/CBC_Connector.pm line 284, 
referer: http://home.terraworld.net/cgi-bin/manage.cgi

 From my searches, it seems that the 'randomiv' and 'salt' have 
something to do with the default header_mode setting in CBC. I did find 
a blog post that suggested changing the default header_mode in CBC.pm to 
randomiv instead of salt, but changing that setting didn't have any impact.

Again, the verify_install.cgi output:

OpenSRS Client Debugger

Ciphertext does not begin with a valid header for 'randomiv' header mode 
at verify_install.cgi line 633
Client Software Configuration
Verify Install URL      http://home.terraworld.net/cgi-bin/verify_install.cgi
OpenSRS Client IP Address       xx.xx.xx.xx
OpenSRS version         3.0.0
Perl version    5.008008
Operating System        Linux censored 2.6.18-53.1.13.el5 #1 SMP Tue Feb 12 
13:01:45 EST 2008 i686 i686 i386 GNU/Linux
Perl compiled for       linux (i386-linux-thread-multi)
Connection Type         CBC
Server Hostname         horizon.opensrs.net
Server Port     55000
HTTPS Port      55443
Reseller Username       censored
Private Key Length      112
Encryption [CBC]
Encryption Method       Blowfish
Checking for Crypt::Blowfish    OK (version 2.10)
Software Requirement Tests [CBC]
Checking for Digest::MD5        OK (version 2.36)
Checking for Unicode::String    OK (version 2.09)
Checking for Storable   OK (version 2.15)
Checking for Data::Dumper       OK (version 2.121_08)
Checking for HTML::Template     OK (version 2.9)
Checking for XML::Parser        OK (version 2.34)
Checking for Crypt::CBC         OK (version 2.29)
OpenSRS Client Modules
XML Client Version      XML:2.2.3b
TPP Client Version      1.4.0
CBC Authentication Test

I suspect that both errors are intimately related.

Thoughts?

Thanks,
---
- Nick Bright
   Network Administrator
   Terra World
   Tel 888-332-1616 x 315
   Fax 620-332-1201


Nick Bright wrote:
> Greetings,
> 
>   I'm in the process of setting up the opensrs-client library on a new 
> web server. I've copied over all of the files from my old server, and 
> resolved several conflicts of missing packages and whatnot. 
> Unfortunately, I haven't been able to figure out what is causing this error:
> 
> [Wed May 14 17:36:44 2008] [error] [client xxx.xxx.xxx.xxx] Ciphertext 
> does not begin with a valid header for 'salt' header mode at 
> /usr/local/opensrs-client-2.8.1/lib/OpenSRS/CBC_Connector.pm line 265, 
> referer: http://home.terraworld.net/cgi-bin/manage.cgi
> 
> I did find this list post: 
> http://www.mail-archive.com/[email protected]/msg00165.html
> 
> which lead me to subscribe to this list and make this post. That 
> original post indicates that updating Crypt::CBC to the latest version 
> fixes the problem; yet I have the latest Crypt::CBC and the same issue 
> is occurring.
> 
> For what it's worth, here's the output of verify_install.cgi:
> 
> OpenSRS Client Debugger
> 
> Ciphertext does not begin with a valid header for 'salt' header mode at 
> verify_install.cgi line 474
> Client Software Configuration
> Verify Install URL    http://censored/cgi-bin/verify_install.cgi
> OpenSRS Client IP Address     censored
> OpenSRS version       2.8.1
> Perl version  5.008008
> Operating System      Linux censored 2.6.18-53.1.13.el5 #1 SMP Tue Feb 12 
> 13:01:45 EST 2008 i686 i686 i386 GNU/Linux
> Perl compiled for     linux (i386-linux-thread-multi)
> Connection Type       CBC
> Server Hostname       rr-n1-tor.opensrs.net
> Server Port   55000
> HTTPS Port    55443
> Reseller Username     CENSORED
> Private Key Length    112
> Encryption [CBC]
> Encryption Method     Blowfish
> Checking for Crypt::Blowfish  OK (version 2.10)
> Software Requirement Tests [CBC]
> Checking for Digest::MD5      OK (version 2.36)
> Checking for MD5      OK (version 2.03)
> Checking for Unicode::String  OK (version 2.09)
> Checking for Storable         OK (version 2.15)
> Checking for Data::Dumper     OK (version 2.121_08)
> Checking for HTML::Template   OK (version 2.9)
> Checking for XML::Parser      OK (version 2.34)
> Checking for Crypt::CBC       OK (version 2.29)
> OpenSRS Client Modules
> XML Client Version    XML:2.2.3b
> TPP Client Version    1.4.0
> CBC Authentication Test
> 
> Thanks for taking the time to read this, I appreciate any advice that 
> can be offered.
> 
_______________________________________________
domains-dev mailing list
[email protected]
http://discuss.tucows.com/mailman/listinfo/domains-dev

Reply via email to