Re: des/md5 problems?

From: Todd Clark (tvclark@denalitek.com)
Date: Mon Jan 17 2000 - 15:58:40 EST


I'm having the same problem compiling the Crypt::DES module. I've checked
the list archive on opensrs.org but they are only updated through 12/20 and
do not include this "patch for the CPAN DES module". Could someone please
forward this patch or post it in a message?

TIA,

Todd Clark
tvclark@denalitek.com
Denalitek

>This is an endian problem that we ran into.
>
>I believe we posted the patch for the CPAN DES module in the discuss-list.
>If you don't have those emails, let me know and I will find it or find the
>diff and post it here for you.
>
>On Sun, Jan 09, 2000 at 10:14:35PM -0600, Sam Fleitman wrote:
>>
>> I've got the 2.0pre client setup and working up to a point.
>> I'm using perl 5.005_02 on a Solaris box running 2.7.
>>
>> When I use "reg_system.cgi", I get the following error:
>>
>> Failed attempt: Authentication Error.
>>
>> When I turn off DES via the $AUTH_TYPE variable in OpenSRS.conf, the
>> registration works fine so presumably, I have the proper
>> username/password.
>>
>> In order to compile Crypt::DES that I downloaded from CPAN, I had to add
>>
>> typedef unsigned char u_int8_t;
>> typedef unsigned short u_int16_t;
>> typedef unsigned int u_int32_t;
>>
>> in order to get it to compile. It appeared to compile fine that way, but
>> on a "make test" it still failed the last 2 out of 4 tests. I went ahead
>> and installed it anyway and tried to use it like that.
>>
>> To see what type of responses I was getting, I put some print stmts in
>> OpenSRS.pl:sub _authenticate. The $challenge var that is set on line 363
>> of that file does get set with a value, so I know I'm communicating with
>> the server. However, "$answer = _read_data($fh);" on line ~375 does not
>> get a value so authentication is reported as "failed".
>>
>> If you've seen something familiar, or if you have any ideas, I'ld
>> certainly appreciate suggestions, comments, etc.,. I'm running out of
>> ideas...
>>
>>
>> Sam F
>> samf@catalog.com
>>



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:14 EDT