Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BLU0-SMTP84B33AF48D299AE7B48A01FDE60@phx.gbl>
Date: Thu, 28 Jun 2012 10:10:22 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Re: Failed self test for raw-sha1-ng (linux-x86-sse2i
 OMP)

On 06/28/2012 09:35 AM, Tavis Ormandy wrote:
> Frank Dittrich <frank_dittrich@...mail.com>
> wrote:
> 
>> I just ran
>>
>> $ ./john --test=0|grep FAIL Benchmarking: Raw SHA-1 (pwlen <= 15) [128/128
>> SSE2 intrinsics 4x]... FAILED (get_hash[0](0)) 1 out of 138 tests have
>> FAILED
>>
>> $ ./john --list=build-info Version: 1.7.9-jumbo-6-RC0 Build:
>> linux-x86-sse2i OMP Arch: 32-bit LE $JOHN is ./ Rec file version: REC3
>> CHARSET_MIN: 32 (0x20) CHARSET_MAX: 126 (0x7e) CHARSET_LENGTH: 8 Compiler
>> version: 4.6.3 20120306 (Red Hat 4.6.3-2) gcc version: 4.6.3
>>
>> This works: $ ./john --test=0 --format=raw-sha1-ng Warning: doing quick
>> benchmarking - the performance numbers will be inaccurate Benchmarking:
>> Raw SHA-1 (pwlen <= 15) [128/128 SSE2 intrinsics 4x]... DONE Raw:	1331K
>> c/s real, 1331K c/s virtual
>>
>> Frank
>>
> 
> I see the bug, that's embarassing. Give me a minute to send a push request.

First time I noticed that problem was on 21st of June:
http://openwall.com/lists/john-dev/2012/06/21/46

But at that raw-sha1 and raw-sha1-ng (or whatever the format label was
at that time) used the same format name "Raw SHA-1", so I wrongly
assumed it was raw-sha1 hat was broken.

I could have been more careful at that time, then I would have noticed
it is not the original raw-sha1 that was broken.
And I should have repeated that test earlier.

Hopefully your fix makes it into jumbo-6.
Otherwise, Solar might release jumbo-7 immediately afterwards.
(I just read the jumbo-5 announcement again and saw that
john-1.7.9-jumbo-1- john-1.7.9-jumbo-4 existed for a few hours only...)

Frank

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.