[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ccfd1997-8010-3e0f-36ab-e5e360e50564@nod.at>
Date: Fri, 21 Oct 2016 20:21:16 +0200
From: Richard Weinberger <richard@....at>
To: Michael Halcrow <mhalcrow@...gle.com>
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org, dedekind1@...il.com,
adrian.hunter@...el.com, tytso@....edu, jaegeuk@...nel.org,
david@...ma-star.at, wd@...x.de, sbabic@...x.de,
dengler@...utronix.de
Subject: Re: [PATCH 15/26] ubifs: Implement encrypt/decrypt for all IO
On 21.10.2016 19:52, Michael Halcrow wrote:
> On Fri, Oct 21, 2016 at 07:21:04PM +0200, Richard Weinberger wrote:
>> On 21.10.2016 19:14, Michael Halcrow wrote:
>>> Compress-before-encrypt is a hazard.
>>>
>>> http://www.iacr.org/cryptodb/archive/2002/FSE/3091/3091.pdf
>>
>> I'm fully aware of that. But as usual it depends on the use case.
>> Compression is optional in UBIFS, paranoid users can disable it
>> when encryption is enabled.
>
> It's not the paranoid users I'm concerned about. It's those building
> systems with complexity and nuance on top of UBIFS who aren't paranoid
> enough.
>
> I suggest disabling compression by default when encryption is enabled,
> unless the user explicitly enables both.
That's definitely an option, yes.
Thanks,
//richard
Powered by blists - more mailing lists