From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FSL_HELO_FAKE,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 543F7C32757 for ; Wed, 14 Aug 2019 22:37:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1CF222133F for ; Wed, 14 Aug 2019 22:37:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565822251; bh=zZu436fUH/jVRbuBikAqFWcrS6iRdnYyiGm2WREqNhk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=PHZF1pEzYLGToxjj3qCJdU97qNlqB9Irx1ZIJd1NCac2m7vq7JoYgBVLxqGCt83iq WmVF84OeYWChBp2u/GjIcAoUHPxmNsA53yz6JtvDe7/hm2J3qJbRg3HFE77b9h2wak Ro2QgiTK12lxatCo0P8aAaXyCHKQd3VFZjb0xu9A= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727722AbfHNWh3 (ORCPT ); Wed, 14 Aug 2019 18:37:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:35758 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725895AbfHNWh3 (ORCPT ); Wed, 14 Aug 2019 18:37:29 -0400 Received: from gmail.com (unknown [104.132.1.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5380A208C2; Wed, 14 Aug 2019 22:37:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565822247; bh=zZu436fUH/jVRbuBikAqFWcrS6iRdnYyiGm2WREqNhk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Kd+k8Kc/rEbGv/TrtNBMq15M+vYNbAt/FTQ+D0vmw7cYxvFayrGWgFSLnSnlbLdnn c7ZNIKcI1QJjSXqgnA9fVIOBWcef8YR0lm1z6vtXFe0kH+LJGNkdiwYmd0p4/fCjAe +BraiOijhZifnnC1UtWKoYgFI6mf0uxQ304q3m0o= Date: Wed, 14 Aug 2019 15:37:25 -0700 From: Eric Biggers To: linux-fscrypt@vger.kernel.org Cc: Satya Tangirala , Theodore Ts'o , linux-api@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, keyrings@vger.kernel.org, linux-mtd@lists.infradead.org, linux-crypto@vger.kernel.org, linux-fsdevel@vger.kernel.org, Jaegeuk Kim , linux-ext4@vger.kernel.org, Paul Crowley Subject: Re: [PATCH v8 00/20] fscrypt: key management improvements Message-ID: <20190814223725.GF101319@gmail.com> Mail-Followup-To: linux-fscrypt@vger.kernel.org, Satya Tangirala , Theodore Ts'o , linux-api@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, keyrings@vger.kernel.org, linux-mtd@lists.infradead.org, linux-crypto@vger.kernel.org, linux-fsdevel@vger.kernel.org, Jaegeuk Kim , linux-ext4@vger.kernel.org, Paul Crowley References: <20190805162521.90882-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190805162521.90882-1-ebiggers@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Aug 05, 2019 at 09:25:01AM -0700, Eric Biggers wrote: > Hello, > > [Note: I'd like to apply this for v5.4. Additional review is greatly > appreciated, especially of the API before it's set in stone. Thanks!] > > This patchset makes major improvements to how keys are added, removed, > and derived in fscrypt, aka ext4/f2fs/ubifs encryption. It does this by > adding new ioctls that add and remove encryption keys directly to/from > the filesystem, and by adding a new encryption policy version ("v2") > where the user-provided keys are only used as input to HKDF-SHA512 and > are identified by their cryptographic hash. > > All new APIs and all cryptosystem changes are documented in > Documentation/filesystems/fscrypt.rst. Userspace can use the new key > management ioctls with existing encrypted directories, but migrating to > v2 encryption policies is needed for the full benefits. > I've applied this patchset to the fscrypt tree for 5.4. - Eric