Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp948907pxb; Wed, 6 Apr 2022 05:06:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCNm0CIxA2AMWU5q/rh0oRnrly87jbcJKh4BJFEcOaMjq6KxeIm+F8RVrf5p/XGRO/A/XT X-Received: by 2002:a05:6e02:148d:b0:2c8:a1a:ab98 with SMTP id n13-20020a056e02148d00b002c80a1aab98mr4044801ilk.194.1649246792445; Wed, 06 Apr 2022 05:06:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649246792; cv=none; d=google.com; s=arc-20160816; b=Y5N1wGGjDoMLTitg81B153bV0lol8QMxZtN4UvIkWQLYhcy/QeuWiJOSjgm5Q1TpI/ IbkDPeiBt7HoKHDzWZYuOeUehYGRH89oTfKVxPH9DAzK2f5Ym/oYsM41CPTxxUyli5xb AC51R5jBVjuR1jjpRnaSuD0f5tfyLMWNjUxZ/DyXh5YhSZr6r9zGntMBaGdOe/9ckoUO JquVUTw5wF0UV8pFvCjWU2dgJaYAHlOF0t4M/twN7qyHo+zjuU3tW3Rh8wZSeGc+zeub gYyYpycfR9RfwTRIoWNw9YazVsUFUYrmKnc5r8JO94uhP8s9CYJ2hB+nZ9pKyuQWVuIp AenQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=FF+5Lofb8o+FUWCU7H/w7wRJQgafAOJziZwsxzoPhAk=; b=Rhis4IM529KJj7gr1AmxOT7Bfz3QDVRgzPl7QfkLR1d4fBe2t961X0PMAoJegwBg7e hEydfLYCQ3uH9Tj3QnWNcxXcZgxq9hOzFqW9mArAWhJ4vTyol6ABMymXdZruG3792AZa jN3INmHdNQWCUc488lFfEMU8sFoXlI8N5iUPCLl11IXcAVaFocCTHULZ3/LXwxN6SqqF TVi/iQkQVVllV5a6EPSlo8ClUi6wmmjmnWv+DQcK87O1SqvHXa94T1jvjmhdDDaPjUno zm32Avn9SD8DPHcWMxISplpMRHGrgR7pApCFITlzNFQx14CnmhGFUAUlRTnCfw2AYcnP 9Gvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i0h8TOPZ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id az37-20020a05663841a500b0031a2a4215e5si8054599jab.7.2022.04.06.05.06.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 05:06:32 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i0h8TOPZ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E0A0C686BD2; Wed, 6 Apr 2022 03:34:57 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1848840AbiDFCaX (ORCPT + 99 others); Tue, 5 Apr 2022 22:30:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1387042AbiDEVuz (ORCPT ); Tue, 5 Apr 2022 17:50:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D49238D681; Tue, 5 Apr 2022 13:35:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DDA43619AF; Tue, 5 Apr 2022 20:35:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30537C385A1; Tue, 5 Apr 2022 20:35:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649190926; bh=5AMYXQake7hH4Sl7hM9HYLwlrWswqrY810AOuA4uvuY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i0h8TOPZyYXw7YxYxsVl6M7m9galZt/HSu2NrnpCZivNyZ7yuqNR6VPzSsh9B5xZ7 wEI8GFAsRtI1+5cpvV4y5V6bD7ZTHWPrNms51oMeBLqlbhz/Pt4jHjEr4YMtpS04bv inUsXA39X6lGwlO1xGyJPxEYe1/qPedJg+ZQA8CccgWdLyfHb14wrrbhHpPIc+xAb6 2Kx5UkD3i6eV7U8TpRrO27fFNcv6EyK0xn1bXYnJaKFcb7onhVzGsI0JoyGopO2ej3 a1PNnKsF+R00mz8wCgz30M0lR6/Fgfb+1bACZztdZ/k/7a5j2fhFUCttN/z9s5wiPu gNWEMYwCMmdpw== Date: Tue, 5 Apr 2022 20:35:24 +0000 From: Eric Biggers To: Mimi Zohar Cc: linux-integrity@vger.kernel.org, Stefan Berger , linux-fscrypt@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 5/5] fsverity: update the documentation Message-ID: References: <20220325223824.310119-1-zohar@linux.ibm.com> <20220325223824.310119-6-zohar@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220325223824.310119-6-zohar@linux.ibm.com> X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 25, 2022 at 06:38:24PM -0400, Mimi Zohar wrote: > Update the fsverity documentation related to IMA signature support. > > Signed-off-by: Mimi Zohar > --- > Documentation/filesystems/fsverity.rst | 20 ++++++++++++-------- > 1 file changed, 12 insertions(+), 8 deletions(-) > > diff --git a/Documentation/filesystems/fsverity.rst b/Documentation/filesystems/fsverity.rst > index 1d831e3cbcb3..c1d355f17a54 100644 > --- a/Documentation/filesystems/fsverity.rst > +++ b/Documentation/filesystems/fsverity.rst > @@ -74,8 +74,12 @@ authenticating the files is up to userspace. However, to meet some > users' needs, fs-verity optionally supports a simple signature > verification mechanism where users can configure the kernel to require > that all fs-verity files be signed by a key loaded into a keyring; see > -`Built-in signature verification`_. Support for fs-verity file hashes > -in IMA (Integrity Measurement Architecture) policies is also planned. > +`Built-in signature verification`_. > + > +The Integrity Measurement Architecture (IMA) supports including > +fs-verity file digests and signatures in the IMA measurement list > +and verifying fs-verity based file signatures stored as security.ima > +xattrs, based on policy. This looks okay, but this would be easier to understand as a list of alternative ways to do signature verification with fs-verity: * Userspace-only * Built-in signature verification + userspace policy * IMA - Eric