Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757511AbcJXMAH (ORCPT ); Mon, 24 Oct 2016 08:00:07 -0400 Received: from b.ns.miles-group.at ([95.130.255.144]:44723 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757498AbcJXMAC (ORCPT ); Mon, 24 Oct 2016 08:00:02 -0400 Subject: Re: [RFD] Common userspace tool for fscypto To: Michael Halcrow References: <0bef3877-060e-b722-0354-3a5508219e23@nod.at> Cc: linux-fsdevel , kzak@redhat.com, "Theodore Ts'o" , Jaegeuk Kim , Eric Biggers , David Gstir , Ext4 Developers List , linux-f2fs-devel@lists.sourceforge.net, "linux-kernel@vger.kernel.org" From: Richard Weinberger Message-ID: Date: Mon, 24 Oct 2016 13:59:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1112 Lines: 28 Michael, On 19.10.2016 19:36, Michael Halcrow wrote: > On Wed, Oct 19, 2016 at 4:35 AM, Richard Weinberger wrote: >> Hi! >> >> Since file level encryption has more than one user, currently ext4, f2fs and soon ubifs >> it would be nice to have a single tool to control fscrypto from userspace. >> >> For ext4 we have already at least two tools, one as part of e2fsprogs and another >> one on github[0]. IMHO the latter one is much more user friendly and intuitive to use. >> I as unable to find the userspace tool for f2fs. >> >> That said, what about implementing such a tool as part of util-linux to control >> fscrypto? We (David and I) would volunteer. > > While discussing several changes we have staged for release (we're > trying to minimize churn by batching a large set of format changes all > at once), we've recently recognized this need on my team and were > planning on starting work on exactly what you propose. Can you please some details? Will it be GPL? Part of util-linux? What features does it have? I hope more than just being a wrapper to the ioctls(). Thanks, //richard