Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 16 Jul 2011 13:21:29 -0500
From: "JimF" <jfoug@....net>
To: <john-dev@...ts.openwall.com>
Subject: Re: LANG and LC_COLLATE (was: [john-users] John Test Suite v1.03 released)

One way to deal with this is to use john's unique program.  However, I have 
had some running issues at times, due to how it has been put together on the 
win32 builds, with the 'symlink' method, vs simply renaming a real exe file. 
It works, but has some caveats.  I simply did not put in the time to try to 
work through all of them, and used the older standard    "sort < input | 
uniq > output"  method    Guess I was not aware of the issues also inherent 
in doing this on arbitrary part binary data.

Guess there is always 1.04 :)

Jim.

----- Original Message ----- 
From: "Solar Designer" <solar@...nwall.com>
To: <john-dev@...ts.openwall.com>
Sent: Saturday, July 16, 2011 9:33 AM
Subject: [john-dev] LANG and LC_COLLATE (was: [john-users] John Test Suite 
v1.03 released)


> magnum -
>
> On Sat, Jul 16, 2011 at 03:49:14PM +0200, magnum wrote:
>> I just found out that for certain LANG environmental variable settings,
>> the test suite will show bad results (lots of 1497 on validation). This
>> is due to things like sort|uniq acting weird.
>>
>> Putting LANG= before ./tstall will fix this. I enclose a patch for
>> Makefile that lets you run the test suite using "make test" from john
>> src directory, provided the test suite is installed in ../test relative
>> to that (i.e. test is a sibling to src). It includes this LANG= fix.
>
> Note that LC_COLLATE takes precedence over LANG, and I think LC_ALL does
> too.  So if a system has LC_ALL or LC_COLLATE set, your fix won't help.
> I think the most specific one of these three - LC_COLLATE - is the higher
> priority one.  So a better fix would be to set LC_COLLATE=C (not LANG).
>
> Thanks,
>
> Alexander 

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ