Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 9 Feb 2013 21:17:59 +0100
From: magnum <john.magnum@...hmail.com>
To: john-users@...ts.openwall.com
Subject: Re: Support for PBKDF2 (SHA512)

On 9 Feb, 2013, at 15:54 , magnum <john.magnum@...hmail.com> wrote:
> On 9 Feb, 2013, at 15:41 , Dhiru Kholia <dhiru.kholia@...il.com> wrote:
>> On Sat, Feb 9, 2013 at 7:28 PM, magnum <john.magnum@...hmail.com> wrote:
>>> I'm implementing support for $ml$ format with '.' delimiter. From what I can google, a grub hash looks like this:
>>> 
>>> grub.pbkdf2.sha512.10000.4483972AD2C52E1F590B3E2260795FDA9CA0B07B96FF492814CA9775F08C4B59CD1707F10B269E09B61B1E2D11729BCA8D62B7827B25B093EC58C4C1EAC23137.DF4FCB5DD91340D6D31E33423E4210AD47C7A4DF9FA16F401663BF288C20BF973530866178FE6D134256E4DBEFBD984B652332EED3ACAED834FEA7B73CAE851D
>>> 
>>> So what format *do* we support? Why do we use a '$' delimiter? Can I drop that?
>> 
>> The current ml2john.py program produces hashes starting in
>> $pbkdf2-hmac-sha512$ and it uses '.' delimiter.
> 
> Then it did not work until now. The format only supported '$' delimiter.

I was confused, the above was not true.

> Anyway, I have code that supports any of these three tags as well as any delimiter of '.' or '$'. I'll commit it after some more testing.
> 
> BTW I also fixed bogus stuff in valid vs binary/salt. We should catch bad input in valid(), not later.

Committed now. Native "Dave Grohl tool" and GRUB formats are supported as well as our own format. Also, we support any salt length and binary lengths over 64 (because I get 128 from my OSX). We do not calculate/verify lengths over 64 though - it's not needed. If someone can show a 512 hash collision, well, that would be interesting =)

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.