From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Richard Weinberger 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-fsdevel-owner@vger.kernel.org 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 List-ID: 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