Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANO7a6zNCiMA_Tn+RPsmsRsiUQRddn=zusjyvc_EGhqas+SFKA@mail.gmail.com>
Date: Thu, 24 Jan 2013 21:30:44 +0530
From: Dhiru Kholia <dhiru.kholia@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: PDF format incompatibility (jumbo-7 vs. jumbo-8)

On Thu, Jan 24, 2013 at 9:19 PM, Frank Dittrich
<frank_dittrich@...mail.com> wrote:
> On 01/24/2013 04:30 PM, Dhiru Kholia wrote:
>> On Thu, Jan 24, 2013 at 8:53 PM, Frank Dittrich
>> <frank_dittrich@...mail.com> wrote:
>>> On 01/24/2013 03:27 PM, Dhiru Kholia wrote:
>>>> A simple (but probably unpopular) fix is to reject old-style hashes.
>>>
>>> I am sure Solar wouldn't call breaking backwards compatibility a fix.
>>
>> I was not careful enough to maintain backwards compatibility when I
>> wrote the new pdf format.
>
> OK, but the "$pdf$Standard*" hash should contain all the information
> required to construct the hash format which is expected by the jumbo-8
> valid(), no?

I think so.

> If all information is there, it should be possible to write a prepare()
> function which converts the old-style hash into the new one.

Yes, it is possible. Why can't we handle old-style hashes in valid and
get_salt instead of prepare?

I haven't used prepare so far, so I don't know its "powers".

-- 
Dhiru

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.