Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3087875imc; Wed, 13 Mar 2019 08:32:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4DUhkl43g5ed7jPBq3QdxHO3aQb/mEJZgc9EqEEYhCGVu9dSRTEqSers71ren1pFPb6hz X-Received: by 2002:a63:fb16:: with SMTP id o22mr39790068pgh.209.1552491159189; Wed, 13 Mar 2019 08:32:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552491159; cv=none; d=google.com; s=arc-20160816; b=ldudXHBFb6sP/UZRPnt2axN2P5h2eUkCbNvF550iOqOfJqCDM+D5CPO25BoDepy1e1 a/eUCg1bv4c/TOBJ0BP/eAl82MhnjpWqqrOLiieHndZq2zdN73zBhl0/Yz9gp7e6YIor bF4mxI/DLZfn7gNkUSzB9/Zwr3kTaLZirb/nJzVQHR97aYFjg8LkkisnQ2YAQ6cMha2j VDdDFvJpNzdApl+fmA+kbHzC2eDauA9NndkNtuvoVuonYt7+YMicxSU8uWeiLMrg6a04 Hsl7SHT1VfbxMQsW9B97ZDHQ3F8R9VuMF1JITabrSLiiC9zrPyjhC29WG1dME7+KWdz5 TbHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=DOMUdlyY8s0X+T4LKa5IbKKDeetXCkygUrBTjp0jkkM=; b=rjjBXAkUPvYzhwKJaqQ8cICasfTLZPVZ3t0YJOmP03rojVHaWkRdt9ivb064JPHFhf TT6OVDWwsNuiO1Ta85sKgEmF4qW2J/IgiE/OSp/X39xApGdtuUBMx7avvxInR2Hqi+ah 2JShTRlTJvcrntFqTJGspCgIKPjRPnLvFXRVRlLuvgr97mwhZJAWw9lseysd3OcXgUkb UyyghcMH17bx2Jh69f4MdRZJeibbCN9ns7YE5a03MTJt5QU0HytB0PP/kE92WQYxN8qG ep1rR1+qC2v0tIWEon+qeyzDabDjYSlc55vHeMqtHNyxBTJQ2Ave6jRbsBvclnYyEArL wFrw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r14si10880074pls.306.2019.03.13.08.32.23; Wed, 13 Mar 2019 08:32:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726654AbfCMPaQ convert rfc822-to-8bit (ORCPT + 99 others); Wed, 13 Mar 2019 11:30:16 -0400 Received: from lithops.sigma-star.at ([195.201.40.130]:44490 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725870AbfCMPaM (ORCPT ); Wed, 13 Mar 2019 11:30:12 -0400 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id DF0F96091877; Wed, 13 Mar 2019 16:30:08 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 8kml4iUHCbwV; Wed, 13 Mar 2019 16:30:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 87935609187F; Wed, 13 Mar 2019 16:30:08 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 60h5QYQyybex; Wed, 13 Mar 2019 16:30:08 +0100 (CET) Received: from blindfold.localnet (089144193070.atnat0002.highway.a1.net [89.144.193.70]) by lithops.sigma-star.at (Postfix) with ESMTPSA id 84ABD6091877; Wed, 13 Mar 2019 16:30:05 +0100 (CET) From: Richard Weinberger To: Theodore Ts'o Cc: Amir Goldstein , Miklos Szeredi , linux-fsdevel , linux-fscrypt@vger.kernel.org, overlayfs , linux-kernel , Paul Lawrence , david@sigma-star.at Subject: Re: overlayfs vs. fscrypt Date: Wed, 13 Mar 2019 16:30:03 +0100 Message-ID: <3369831.hnip8tpcNh@blindfold> In-Reply-To: <20190313151633.GA672@mit.edu> References: <4603533.ZIfxmiEf7K@blindfold> <20190313151633.GA672@mit.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, 13. M?rz 2019, 16:16:33 CET schrieb Theodore Ts'o: > So before we talk about how to make things work from a technical > perspective, we should consider what the use case happens to be, and > what are the security requirements. *Why* are we trying to use the > combination of overlayfs and fscrypt, and what are the security > properties we are trying to provide to someone who is relying on this > combination? Well, as stated, on (deeply) embedded systems overlayfs is common. You have a lowerdir with read-only files and an read-write upper dir. Of course both lower and upper directory need to be encrypted. In my case ubifs+fscrypt, sometimes also combined with an encrypted+authenticated squashfs. Thanks, //richard