Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp12122lqt; Sun, 17 Mar 2024 22:17:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWRXRs2+NgAw5QYceLJ5qfPpEk0qnp9SAlx4l4V6NZhpM4F9bgdQqAZqWv5M2FVEugyljsUm+yMQNPMPmVIcq/WdVa/P1SKbmOHw2TQdw== X-Google-Smtp-Source: AGHT+IGfdcKnVcjueqdYQtRbMy+bW0tKgbJtBUJSDvj/+nPq7hj2gavhahMRa3jLXJ7A3a/eQLsP X-Received: by 2002:a05:6a20:2583:b0:1a3:6aba:e9ce with SMTP id k3-20020a056a20258300b001a36abae9cemr206954pzd.31.1710739047479; Sun, 17 Mar 2024 22:17:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710739047; cv=pass; d=google.com; s=arc-20160816; b=Y0P7nWdcacXBKl07y0VQI7bWS9Z3TTZ69z7JJ9/uP36zEiJNJ3ebQxFDFyaugwgntK g4BpNr9gsXk9/7To3Bfsgkx7dd3RPBm/0DmuTo5zipWCvFycYdgBYiWbLw0Y6k5X16J3 i6uHmPiq7XEZ6hrZJq6uD/KxAPZiHGbVlc64gZ43ULkYM0/evHLPRxXC4j/aTytjYXCz 3NLnMdU5aGGsyRIjAnoSZHymYt6kwJm7RBqxg/GzUEym3WnwNHbxc5qrh+dWMaFT+8cq LAnvhA7EsBHu5THX0IcDPdjQtBVFRjXDgLwpgGrqHQ7Hl6eBaxCKlYk0HemqVUVlHu7n Qb8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vMaf8folAYQVICQcIP0FnSjSnwPF5EH0d2K5TbXpzOc=; fh=tBL3q0tIRR0gzVsb9JkPDpuT1fOoR1ERDu7WXJYo2as=; b=CgH+ezBz92QRcRpWYN8Fp9R+g9MaQyAhFwyFF54uTnnHfn0MMxXpqRLMiFlJUoeBKb uPgDr4DgF3aGcBrt/6xkshApOq0Q04OB3MNBwBeKCn+aKH3GP7htW7suau0wW5HDmbif M8ZxzwUU17Sg2U2i8xOva7t8cT9CC+hCHvUlCpwe2nhGtlFcDTYRojHJ1vxmeF75xX+3 vXN8FknvxgEghQdw/htO90c+THFzaD5wLMdFI+QGveGqgie6umJWzbywV2lIubNf/y+E PogZ2FO1Lxf0FWkKAxb0ACHL/6CN180Brny+LJv4okTN9OESNwW6uzMUoCEnve+D9VRS X+jQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RgiyL6nN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-105701-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105701-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id y16-20020a17090aca9000b0029c7692a095si7321575pjt.120.2024.03.17.22.17.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 22:17:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105701-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RgiyL6nN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-105701-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105701-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4B82FB214B0 for ; Mon, 18 Mar 2024 05:17:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D942A219E4; Mon, 18 Mar 2024 05:17:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RgiyL6nN" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E11BE20315; Mon, 18 Mar 2024 05:17:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710739026; cv=none; b=oFOvNuUcrbubmlNzPn4fvL+t/zsfCpJNmMaHZ6R8/VwW+ibB3WuGyudepRVbNCL8aZ2WJRoUqU4x4a+arGxJ2kNve961+O40t/+SAPc3h9m04w4iIcQM0U2eUH94FNFkeIYRU1YL+iykxat2sYnx+0Z97JquvWJuJonboT95Wx0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710739026; c=relaxed/simple; bh=/ekLKfQyyyUB1OUoHzb8lmsD0EoABbXqCAh+jLBQQ4I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=A7sCWql98pCB//cmkR7zyBcPrpge+U0SgTWS6q9JiqXeehKl5fAWm2CzrpTEjVGb1IaJDzFMnRpcKG5hl5VBbHtYInAY53875cEavKOuKxBUDzkt3O96wZQtwI6lHsime3yOuqLZQRUYxn0WjkVhCM7+3vqVic/0DGC+mCxO+9U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RgiyL6nN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8ED6C433F1; Mon, 18 Mar 2024 05:17:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710739025; bh=/ekLKfQyyyUB1OUoHzb8lmsD0EoABbXqCAh+jLBQQ4I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RgiyL6nNi1Y3bWrFZl2vZLVZ5vFKdYoWAnNZbOk1RXGFy8Je9frCBkXfIZWNzgPjY BULFGcsOVgTYPa3wikqNk1bLEsCWthg2qnqOa1I/4yosw+A6QgPrdyRjps8xALVErK U4kaXnDITqU7uxwihZ1AelEWrhnA7b6MINPLYpfR1hyXp06gUSwDs5xqUiLRNnib3/ 81x+bsV/OEQKvgSdarqNvIHTf3NgPyCBXuupodq0Wxyz70AtIgYhoGkD5sl0EK9I1b vY4lf6Ip8/DIsQYmGWuMkmy02OMM+pBIIbN8T0Slf6yxo6VnWmAAg9ZwEm2B+r6Uuk o/pfm4qntBjfA== Date: Sun, 17 Mar 2024 22:17:03 -0700 From: Eric Biggers To: Fan Wu 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 Subject: Re: [RFC PATCH v15 18/21] ipe: enable support for fs-verity as a trust provider Message-ID: <20240318051703.GB63337@sol.localdomain> References: <1710560151-28904-1-git-send-email-wufan@linux.microsoft.com> <1710560151-28904-19-git-send-email-wufan@linux.microsoft.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1710560151-28904-19-git-send-email-wufan@linux.microsoft.com> 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