Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp482476lqt; Mon, 18 Mar 2024 13:40:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUWF2n97cPwj8dUcIgCLi5jv22tOzBkQ7R9pAaYCDrxMc1BtcWxGO4Cyn+M/vun8xlnMYjqdX53R7CJYSRtAINNRWyW575rtNP2ujL8hw== X-Google-Smtp-Source: AGHT+IFsMNLEu+6KtCP0g9FflhhkSvjjwB5XVXpUis/FICSRbTmmbsliPH80jFHvN+1opccuN8HD X-Received: by 2002:a67:ea18:0:b0:472:7a4f:1dac with SMTP id g24-20020a67ea18000000b004727a4f1dacmr403562vso.16.1710794456584; Mon, 18 Mar 2024 13:40:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710794456; cv=pass; d=google.com; s=arc-20160816; b=HLH6OhHQn7vv1UCSY3ClkN5E8W2l8/3Pa1PPZ45lHPUbVvfw5ksTwq10AsXyDNUdPG tB58z8WUKmjdyMkZ+1glZCiWY2cm5sFJtVO6wMvSexOlagnV8pbE0eW64KqBEJgVenIL yXaQS7t86vj94aKH52hVv41ngpTKVyx/xasah1AJKUlEGEBCEW0Y42DOBNRsj6MkIUmJ Z1t9lcs58zk7s38DLDreJasdNS72QLPiav3BPAOilMVcMQD0laMMzwH5x2O7H1sdx4fK c/55OAvAB2LjVYK0evqOrOasn/Abpk9h+S3wiGtsn2FeWWP50qmRRGGUjdbjx6wgszDY Weqg== 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:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature :dkim-filter; bh=k0/I7p41f3QocEgsxb/Pps2tOnOrvwXWMYTG9ZCpr8M=; fh=GFjPp8b3OB/mN24UGgdOdgj82t0MEUXKxRC7NUPNisE=; b=MDdwL9unsiNEcqkzj4LYxsiAQH+KLjO+moFbiUpYepbs6VOByA4SLTABXOgh/6jQ9E n7v1YO0Q3DmfNWtXfUxZHft0oxE1PdkGy/RlAJW7sgSr2LrgTduoqOoymfjKwtgDRaN1 wwslGIbiT8vMijEJDkpb22zq6N4AeTRxuh0n52CK66352jEG/wJOgDDjguKTiErsVVcT /P0YXe1ZTyGNpETaD6dHf65R9qzxDAVu2zXAJXeQnXFKm/VGycI8r9ojxuXiCNBLg8b9 S6ALcLAK//n0cVJA9+iJBq8r1VGbsEC1iEZoPx5hzurgPLa42XzGYQlZAQHC6cgrOjiT xgPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=P+T8Utrr; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-kernel+bounces-106637-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106637-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id hu15-20020a056214234f00b0068f6db785fcsi9179657qvb.468.2024.03.18.13.40.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 13:40:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106637-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=P+T8Utrr; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-kernel+bounces-106637-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106637-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4E8EF1C22395 for ; Mon, 18 Mar 2024 20:40:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9CF957895; Mon, 18 Mar 2024 20:40:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="P+T8Utrr" Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3BFE58206; Mon, 18 Mar 2024 20:40:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710794444; cv=none; b=Zyjkk89tCKJcoj6nF/8So9VWvrozeeWzUHqUJykDhIjmTB931ylTH2XqaSguHJkNb4LqjjxwFXSmBfeSydFeG5ux61nhxPaiSdP07MwVGouxVmthgGdK3jSqcXF5g9WPmSuSGN0JDub/qiDhzSJqZ9uWTGrtlqYMlXK/gioP/6Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710794444; c=relaxed/simple; bh=mn4Xz1ZtJYWIfNb4PThhTYu0EooQbh05dxo1V6xh/po=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oYpt81zeEM15RaerQEqJuaN/T2AQNJ4Ern3gRByteAbf9Om13hiWoVQWtVISyyEp+bIwJkBBdmI8yDICFZ2tfODldWKsv3i2HO7xEv105bhAmUmpGfUC7w36qtMbWDmR3KA2tGYQSYHFQR5nqqtIxvBBPTsTGUp8mGaQ8Bjk0Qs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=P+T8Utrr; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Received: from [10.137.106.151] (unknown [167.220.2.23]) by linux.microsoft.com (Postfix) with ESMTPSA id 1B38B20B74C0; Mon, 18 Mar 2024 13:40:42 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 1B38B20B74C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1710794442; bh=k0/I7p41f3QocEgsxb/Pps2tOnOrvwXWMYTG9ZCpr8M=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=P+T8UtrrP2wCtmdJ07oc3BDruPa8P5MIkG92h75fdRPvWL8DDBKRFVNqqr5+UyeQD ooCeQJRHYKzrv7CB7fiaFoTGzm5swxy4FXiUU5m7RejK1zt0qWh+Yvh3Y/Q7OgT8bn MuD2Vel7eb5QgWibwRXsNWgrHkiyiUoe4ynUfMu4= Message-ID: <59357d13-c980-4f5a-a9e1-6ad6e480d46e@linux.microsoft.com> Date: Mon, 18 Mar 2024 13:40:41 -0700 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 v15 18/21] ipe: enable support for fs-verity as a trust provider To: Eric Biggers Cc: corbet@lwn.net, zohar@linux.ibm.com, jmorris@namei.org, serge@hallyn.com, tytso@mit.edu, axboe@kernel.dk, agk@redhat.com, snitzer@kernel.org, eparis@redhat.com, paul@paul-moore.com, linux-doc@vger.kernel.org, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, fsverity@lists.linux.dev, linux-block@vger.kernel.org, dm-devel@lists.linux.dev, audit@vger.kernel.org, linux-kernel@vger.kernel.org, Deven Bowers References: <1710560151-28904-1-git-send-email-wufan@linux.microsoft.com> <1710560151-28904-19-git-send-email-wufan@linux.microsoft.com> <20240318051703.GB63337@sol.localdomain> Content-Language: en-CA From: Fan Wu In-Reply-To: <20240318051703.GB63337@sol.localdomain> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/17/2024 10:17 PM, Eric Biggers wrote: > On Fri, Mar 15, 2024 at 08:35:48PM -0700, 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 evaluate to TRUE when >> + a file is fsverity enabled and with a signed digest > > Again: why would anyone care if there is a signature, if that signature is not > checked. > > I think you meant to write something like: "when a file is fsverity enabled and > has a valid builtin signature whose signing cert is in the .fs-verity keyring". > > - Eric Thanks for the suggestion. I agree this is a more accurate description. I'll update the description to include these details. -Fan