Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BLU0-SMTP123B9915A58847ED3FD5DF6FDE60@phx.gbl>
Date: Thu, 28 Jun 2012 07:17:39 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Can keepass get a second test case prior to jumbo-6?

On 06/28/2012 07:04 AM, Frank Dittrich wrote:
> On 06/28/2012 06:48 AM, Dhiru Kholia wrote:
>> On Thu, Jun 28, 2012 at 3:38 AM, Frank Dittrich
>> <frank_dittrich@...mail.com> wrote:
>>> Looks like keepass is a salted hash format.
>>> We should try to have at least 2 different salts in the format test,
>>> otherwise it might be difficult to compare benchmarks in future releases
>>> when we make sure that least two different salts are included for the
>>> test of salted formats.
>>
>> I have added two more test vectors.
> 
> Please revert!
> 
> keepass2john.c: In function ‘process_database’:
> keepass2john.c:191:1: error: expected expression before ‘<<’ token
> keepass2john.c:195:1: error: expected expression before ‘==’ token
> keepass2john.c:197:1: error: expected expression before ‘>>’ token
> keepass2john.c:226:2: error: ‘endReached’ undeclared (first use in this
> function)
> keepass2john.c:226:2: note: each undeclared identifier is reported only
> once for each function it appears in
> keepass2john.c:270:5: error: ‘expectedStartBytesLength’ undeclared
> (first use in this function)
> make[1]: *** [keepass2john.o] Error 1
> make[1]: Leaving directory `/home/fd/git/magnum-jumbo/src'
> make: *** [linux-x86-sse2i] Error 2

OK, no need to revert, the above just was my error.

But I was afraid adding more test vectors would slow down the --test=0 case.

But it is equally bad with or without the new test vectors.

$ time ./john --test=0 --format=keepass
Warning: doing quick benchmarking - the performance numbers will be
inaccurate
Benchmarking: KeePass SHA-256 AES [32/32]... (2xOMP) DONE
Raw:	10.0 c/s real, 5.0 c/s virtual


real	0m42.906s
user	1m23.675s
sys	0m0.090s

$ ./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


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.