Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d806dddd06bdb910159d333db6c9ca67@smtp.hushmail.com>
Date: Tue, 13 May 2014 02:07:33 +0200
From: magnum <john.magnum@...hmail.com>
To: john-users@...ts.openwall.com
Subject: Re: $2b$ bcrypt support

On 2014-05-12 18:48, Kent Fritz wrote:
> http://marc.info/?l=openbsd-misc&m=139320023202696
>
> Naive patch below.  Is this all that's required, or am I missing something?

>   	if (strncmp(ciphertext, "$2a$", 4) &&
> +	    strncmp(ciphertext, "$2b$", 4) &&
>   	    strncmp(ciphertext, "$2x$", 4) &&

It is. Thanks, this totally slipped my mind! I committed this to 
bleeding-jumbo now, plus a test vector for it (in bcrypt).

magnum


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.