Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp345321lqi; Wed, 6 Mar 2024 21:06:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXB3DOCxH5ngCNDBtPiPWxl6v7fKyeJXd3t/I91h5eT3oHjWBy9LX0EtUgrrINrvvcQb+TgFX+fwXhlN77ce34qSpdahN1kwXgkNcix+A== X-Google-Smtp-Source: AGHT+IFTIOIeMebBNoxuziD+eWPNNmmfQ5LIEGOwPUOLdE4FItqx1Upicwf987QZCa4k6ljOexV0 X-Received: by 2002:a17:906:b819:b0:a45:af3d:7ff4 with SMTP id dv25-20020a170906b81900b00a45af3d7ff4mr3652336ejb.12.1709788004722; Wed, 06 Mar 2024 21:06:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709788004; cv=pass; d=google.com; s=arc-20160816; b=E2U7Mxr5EOvVCxz9w/i+A+m67CLxK5ZXW7UNkPmtSGdJP4v0TDE6YIrNzhKy0sGChL cXMrC6c1hMWGhEwtd1s7G+5MAL32qse8Jg2HLu/79sF45UC8yLm/ECkfx8jMsWSwuYQB KYVWUndKYk8E5/jlWdV7nq9zN4WfEdZ24vH9OnlZeJ78/arD7MpRUcPXeJ+IdAQy8jmn mcwrVNNUy5b0qMzgyrpnYj/nmeJfeLxQ11K31B6QGlhNVbmjmezXhZdwqll1bUU47b6y KwD7RX9P5qXRZcIqChMc5j1wuu3kRHfPzDA0CR8xJADvWeiwueVCSYSAsTliOsSZ+4re W+qA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=amr/+e1tSpALZHXPu4iiTw245Vf6YVli5H5FIkFLKbY=; fh=jOvyFL1SyF2G5GqTMIosMsWLViVzK8Iu0Q1VEIo6JUU=; b=Rsv96gucXOSt+GrJQNQnnotYZTCLRmpOdlRoNSHzv5vgE/OACYK4GLzA3yUAuG11Nf NGlmywQJHYIet27wO2hRonED+KcMfxyj7oeGRkhKNvm/Vw2aq4IGlfta5wvHrjhEIQ9d q2l+jnKHkSO9/MJuU7mPqjzBZOSDgSOYPrHwHDyYBdvtp4yO/HfQRBZgAxb9RT/XwRbX l1JZgXsnBI16Hbf2uHaGgtgcnWqVtr6QUyEDhdi6NQsfbGD4szdhN6B3lQwp6JV9qL29 NqWVTJuHEhg5ujx8zEzkPp1m9mGrsHhcCKvty2QexYTFJnBYBgr3zfwlRELUkyFQcjIx fD4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=UiBIGKli; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-94760-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94760-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w1-20020a1709064a0100b00a442dbaf1a9si6611775eju.52.2024.03.06.21.06.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 21:06:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94760-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=UiBIGKli; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-94760-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94760-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2DFC01F22155 for ; Thu, 7 Mar 2024 00:02:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA3AC3D68; Thu, 7 Mar 2024 00:02:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="UiBIGKli" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C36B9800; Thu, 7 Mar 2024 00:02:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709769753; cv=none; b=hFwDq3vCI+4RQpsF4w4Twvhk8BWRRb829I591SVLiLzdghgQr/hrftEG9pJWmR+zlX0BtyYPYIoFUxRzKcVk2a+HbsaNQViz2+JdZ6yizzxoZIDcdsOe09AAhyk/oYYmWZTP5FkwI7PTbp1Bp7x3w2yIeY/HfBiilVcTRSeBpHs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709769753; c=relaxed/simple; bh=nNdfSfVmh1rMkyb8bpupDBkIG5hU918qZygMFKcOavs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=onKK5THqAT9dS9IA0BNTYEJviU4YO51BChU60KqieadBEaE4bxNiPWOugGac4wGoF78Ok/g7z1bhs8N0j0V1gKmGaVCfge5+xZZ/Zd++ZK4rBe7d/0kP5KNPBXzgP8PcxGRI83/DiiWfKcLk5XhobE3lK8srXhZEOqDtmLnMwZ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=UiBIGKli; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=amr/+e1tSpALZHXPu4iiTw245Vf6YVli5H5FIkFLKbY=; b=UiBIGKliaJ+r6aDitzeQxrEZ/a yaifwhhLhkQcCBl8qincQNEBlg5BnSQP1MB8osaNu0ervdcvOVtPp7yfCcpWNSx7Xqo69bfmSEufX ziIvmV857FbtseNJlUo/96UY6TnK7s+NqvxBPyV5F291+NTVbiodWBfzEwav+6sq4VCjaL5uK5RbN Qb7ttZrn2WYc8cv5yHNKWKLdQugEDUIt9BRko3qyl5nzNbqZSNXoj2xI+cyHG19bfb/4sKPEkUWNP g8Pv4A5GfT2FRMOfcWB4zvD7FlRDoicGlWhrVdzp7fNhMq5VNuXGxqH92H9n774vYo01cIZ0wlu17 YYndfbGw==; Received: from [50.53.50.0] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1ri1DP-00000002KmQ-1nhw; Thu, 07 Mar 2024 00:02:27 +0000 Message-ID: Date: Wed, 6 Mar 2024 16:02:26 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH v14 16/19] ipe: enable support for fs-verity as a trust provider Content-Language: en-US To: Fan Wu , corbet@lwn.net, zohar@linux.ibm.com, jmorris@namei.org, serge@hallyn.com, tytso@mit.edu, ebiggers@kernel.org, axboe@kernel.dk, agk@redhat.com, snitzer@kernel.org, eparis@redhat.com, paul@paul-moore.com Cc: linux-doc@vger.kernel.org, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-fscrypt@vger.kernel.org, linux-block@vger.kernel.org, dm-devel@lists.linux.dev, audit@vger.kernel.org, linux-kernel@vger.kernel.org, Deven Bowers References: <1709768084-22539-1-git-send-email-wufan@linux.microsoft.com> <1709768084-22539-17-git-send-email-wufan@linux.microsoft.com> From: Randy Dunlap In-Reply-To: <1709768084-22539-17-git-send-email-wufan@linux.microsoft.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/6/24 15:34, Fan Wu wrote: > +config IPE_PROP_FS_VERITY > + bool "Enable property for fs-verity files" > + depends on FS_VERITY && FS_VERITY_BUILTIN_SIGNATURES > + help > + This option enables the usage of properties "fsverity_signature" > + and "fsverity_digest". These properties evaluates to TRUE when evaluate > + a file is fsverity enabled and with a signed digest or its > + digest matches the supplied value in the policy. -- #Randy