|
|
Message-ID: <CABtNtWF2d_FxBErR0JkWXX3_FxDy8pNt85m0ONth8X8ao2xEkQ@mail.gmail.com>
Date: Fri, 14 Aug 2015 21:59:01 +0800
From: Kai Zhao <loverszhao@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: auditing our use of FMT_* flags (was: more robustness)
Hi Alexander,
On Fri, Aug 14, 2015 at 9:57 PM, Solar Designer <solar@...nwall.com> wrote:
> On Fri, Aug 14, 2015 at 09:52:00PM +0800, Kai Zhao wrote:
>> Thanks for your advice. How about this ?
>>
>> static struct fmt_tests tests[] = {
>> +/*
>> + * The following two test vectors: "USER" and "service" are case-insensitive
>> + */
>> {"$V$9AYXUd5LfDy-aj48Vj54P-----", "USER"},
>> {"$V$p1UQjRZKulr-Z25g5lJ-------", "service"},
>> +/*
>> + * The following one test vector: "President#44" is case-sensitive
>> + */
>> {"$V$S44zI913bBx-UJrcFSC------D", "President#44"},
>> {NULL}
>> +/*
>> + * This format supports both case-sensitive and case-insensitive passwords,
>> + * so this format should set FMT_CASE
>> + */
>> };
>
> This looks good to me. Even better would be to move the third comment
> to where FMT_CASE is actually set. Thanks!
>
Get it. And I will commit this change.
Thanks,
Kai
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.