Re: [GIT PULL] fscrypt updates for 4.18

From: Richard Weinberger
Date: Tue Jun 05 2018 - 12:10:31 EST

Am Dienstag, 5. Juni 2018, 17:35:01 CEST schrieb Theodore Y. Ts'o:
> On Tue, Jun 05, 2018 at 05:13:35PM +0200, Richard Weinberger wrote:
> > > Add bunch of cleanups, and add support for the Speck128/256
> > > algorithms. Yes, Speck is contrversial, but the intention is to use
> > > them only for the lowest end Android devices, where the alternative
> > > *really* is no encryption at all for data stored at rest.
> >
> > Will Android tell me that Speck is being used?
> Well, today Android doesn't tell you, "Your files aren't being
> encrypted" in some big dialog box. :-)
> Whether a phone is using no encryption or not, and what encryption
> algorithm, is fundamentally a property of the phone. It's used to
> encrypt data at rest on the phone, so this isn't a data interchange
> issue. I'm sure there will be some way of finding out --- by looking
> at the source code for that phone, if nothing else.
> But I suspect that if you are buying a phone in a first world country,
> you're never going to see a phone with Speck on it --- unless you
> build your own AOSP build and deliberately enable it for yourself,
> anyway. :-)

That's the question. I understand the use case, but I fear attack scenarios
where someone manages to downgrade the crypto of my phone.
This is why I was asking whether Android tells me whether Speck is used or not.
"it does encryption" is clearly not enough.


P.s. Sorry for hijacking this PR. :-)

sigma star gmbh - Eduard-Bodem-Gasse 6 - 6020 Innsbruck - Austria
ATU66964118 - FN 374287y