Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.