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=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 54F5EC433E1 for ; Wed, 20 May 2020 22:55:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A08620890 for ; Wed, 20 May 2020 22:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590015318; bh=E1DfljRpbA6H0IZzsWRX/4aXJ88Hj2y4PqJ5SvnK5Ck=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=yEkG7Aq/d25Z0XIkk2z9sNCWCa2+7KZkd/2YBO3X1E59IE4f7l6W1alVGOhS9BaAD 6F8HkrmHXkmMM3zcjGIG9WgpiZ0mA00RIb7L81+PrE6JTxKJtKH8WE2F8MC7jXaU07 hMC86stzLG0lrlmNmDoXjRlsx9RwjTFzcr9x6iCM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728550AbgETWzR (ORCPT ); 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