Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 25 Jul 2018 13:48:39 +0200
From: Frank Dittrich <>
Subject: Re: Exclude items from test vectors for --test

Am 25.07.2018 um 13:06 schrieb Solar Designer:
>   What we need is
> for "--test" to produce meaningful results by default, without any
> "--cost" option.  Right now, for sha512crypt-ztex it says it's
> benchmarking for iteration count 5000, but the actual benchmark is for a
> mix of different iteration counts (and maybe a mix of different password
> lengths too).  This is a bug that we need to fix.

Currently, all tests of the regular sha512crypt format use 5000 
iteraions. (May be we should change that.)

So, I copied the ztex self tests to reproduce this.

When using --test, john first tests all hashes, then it measures the 
performance with just the top 2 hashes, i.e. 5000 iterations, unless you 
pick other hashes using something like --costs=1021:1021.

Are you suggesting we should support ./john --test --skip-self-test to 
just measure the performance without first processing the regular self test?


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.