Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 01 Sep 2015 08:56:56 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: FormSpring valid()

On 2015-08-20 10:24, Kai Zhao wrote:
> There maybe a problem with formspring's valid(). The original test vectors are:
>
> static struct fmt_tests formspring_tests[] = {
>          {"2a4fa0bf8c6a01dd625d3141746451ba51e07f99dc9143f1e25a37f65cb02eb4$RA",
> "test1"},
>          // repeat in the same format that is used in john.pot
>          {"$dynamic_61$2a4fa0bf8c6a01dd625d3141746451ba51e07f99dc9143f1e25a37f65cb02eb4$RA",
> "test1"},
>          //{"b06b5c132bb1adf421ce6ac406bfabba380546deaab92bd20c3d56baaa70b6cf$
>   ", "test1"},
>          //{"cdefb423bad94e3abfe5fc4044bb315a2b875220eb8c8b840849df7ef45bdcef$
>   ", "test3"},
>          {NULL}
> };
>
> 1. When I add the a new test vector to formspring:
>
> {"a987090ac31f466c4637e22858aa3db0001e7c0ad8e6724e26e76b8e531df46c$76931fac",
> "abc"}
>
> And ./john --test=0 --format=formspring
>
> Testing: FormSpring [sha256($s.$p) 256/256 AVX2 8x]...
> FAILED (valid (a987090ac31f466c4637e22858aa3db0001e7c0ad8e6724e26e76b8e531df46c$76931fac))
>
> 2. But when I add "$dynamic_61$" as the prefix of the new hash.
>
> {"$dynamic_61$a987090ac31f466c4637e22858aa3db0001e7c0ad8e6724e26e76b8e531df46c$76931fac",
> "abc"}
>
> And ./john --test=0 --format=formspring
>
> Testing: FormSpring [sha256($s.$p) 256/256 AVX2 8x]... PASS

Did you create an issue for this? Is it fixed?

magnum

Powered by blists - more mailing lists

Your e-mail address:

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