[lkml]   [2012]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [dm-devel] [PATCH] dm: remake of the verity target
On Tue, Mar 20, 2012 at 8:44 PM, Mikulas Patocka <> wrote:
> On Tue, 20 Mar 2012, Mandeep Singh Baines wrote:
>> But we are hashing fixed-sized blocks so there is no possibility of extension.
> If the first part of some block contains some security-sensitive data and
> the last part of the same block can be attacker-controlled, he can use the
> collision attack to change the security-sensitive data.
>> However, better safe than sorry. I guess we'll just have to deal with
>> backward incompatibility. So feel free to add my sign off to the new
>> patch also.
>> Signed-off-by: Mandeep Singh Baines <>
>> Regards,
>> Mandeep
>> > Mikulas
> I can introduce a switch to make it accept the old format. Do you want to?

We can carry that as an out-of-tree patch until we migrate.

On the other hand, it might be nice to support prepend or append.

I don't too strong feelings but it might be nice to have
prepend/append flag. Would definitely make our life easier.

> Mikulas

 \ /
  Last update: 2012-03-21 04:51    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean