Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp924777ybk; Wed, 20 May 2020 15:55:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAEsjka1kmFmKjLuNs5rx1jACBPM0lD0CJIB/N/ksAHpQm3h71o6V9OJCrVt9TccWPFS+/ X-Received: by 2002:a17:907:4031:: with SMTP id nk1mr1145984ejb.51.1590015344626; Wed, 20 May 2020 15:55:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590015344; cv=none; d=google.com; s=arc-20160816; b=h0E9bDjk16EbtSmAMOPYDy5aKl+nrS9lvM9sVs+y2FOlK991YB3SMfiO/CWc3cFvS2 hlhOdCcm9nseUAaz0vzunUsYI9Y0Mz1joCBPFvLa9ikKtdBaEUyMtQtf5BHt5rKNHBPG rpEvxCWYvmiLIwffOuZWp8lcOh6ceMQfRTCun6Mjj6xzHgDjRLFEPWTcUr9WtpSIQvSJ yOqaou9O8X8EWLcS5ZpI32lY/zetqF7wOk0Fy9I0xhMrNiSK4RjaM7ngNjKHCALHWD+b xIj1UsvMlB2ETzm9sjpXeDCVZWVjVzqjVvTuy4nz3LNRsBFmLu9swFe0j8qewWbyI4RK ijVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=MBI9+Qv0T946S1T33gMn4MTB6UHvYJMlzuW1V+/XVIA=; b=LbYqb1mwd8JnzeeanbTpyshKHt+JVdfv5RABpgsTx9WU8iQLytHCH0cj65jKK5qHve YSB7GELVUawMHHOWLzrEDwDdaT0VTpbzego69UxDeAC/bllIfaP0ua4NwU3TQDkcT/ZB WSR8lNTlsgW3tHpzc3FjqtItbgeHFQbOOwduoUeuYeiwT67A6hpJLVhA+GAuncDaLaGI AbtiEnUg1teamgS8t4GRNf4yVLLuOLgpN6SO7Ws+9eppINKYHpQL0JBsplsVZXfd8BKa HM69bfcrPqupC3V2la2AWCP5S3SXCw2xGOzpmYkr33nPwTx5GlOc4GFQoFORwl6oF6Ok Ejhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="o/TPnlDO"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id uz7si2241751ejb.93.2020.05.20.15.55.21; Wed, 20 May 2020 15:55:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="o/TPnlDO"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728447AbgETWzR (ORCPT + 99 others); Wed, 20 May 2020 18:55:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:32800 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728019AbgETWzR (ORCPT ); Wed, 20 May 2020 18:55:17 -0400 Received: from sol.localdomain (c-107-3-166-239.hsd1.ca.comcast.net [107.3.166.239]) (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 1E09020708; Wed, 20 May 2020 22:55:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590015317; bh=E1DfljRpbA6H0IZzsWRX/4aXJ88Hj2y4PqJ5SvnK5Ck=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o/TPnlDOY0Ch8TASNkZrTmEyp4fQfD43DMOlLeLHPLMxpUSL9g5UzvNMe75nkUORJ c0KlLIY/Qom29xZQp7fFPrnSEuJVAD4ZXPOiZNM9gcZpiZdfUrsnsQ10NdRWNp4VFS T+T6tgycX/Vzju3MKAcDuUz2T064ekJezx3O0KMg= Date: Wed, 20 May 2020 15:55:15 -0700 From: Eric Biggers To: linux-fscrypt@vger.kernel.org Cc: linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, Jaegeuk Kim , "Theodore Y . Ts'o" , Daniel Rosenberg Subject: Re: [PATCH 0/4] fscrypt: make '-o test_dummy_encryption' support v2 policies Message-ID: <20200520225515.GC19246@sol.localdomain> References: <20200512233251.118314-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200512233251.118314-1-ebiggers@kernel.org> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, May 12, 2020 at 04:32:47PM -0700, Eric Biggers wrote: > v1 encryption policies are deprecated in favor of v2, and some new > features (e.g. encryption+casefolding) are only being added for v2. > > As a result, the "test_dummy_encryption" mount option (which is used for > encryption I/O testing with xfstests) needs to support v2 policies. > > Therefore, this patchset adds support for specifying > "test_dummy_encryption=v2" (or "test_dummy_encryption=v1"). > To make this possible, it reworks the way the test_dummy_encryption > mount option is handled to make it more flexible than a flag, and to > automatically add the test dummy key to the filesystem's keyring. > > Patch 4 additionally changes the default to "v2". > > This patchset applies to v5.7-rc4. > > Eric Biggers (4): > linux/parser.h: add include guards > fscrypt: add fscrypt_add_test_dummy_key() > fscrypt: support test_dummy_encryption=v2 > fscrypt: make test_dummy_encryption use v2 by default > All applied to fscrypt.git#master for 5.8 (including the sysfs additions to patch 3, as was discussed) - Eric