Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp5690558pxv; Wed, 7 Jul 2021 09:30:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZUUDPbE9lYk8+VLpRd91VlS/xgRbBLUWuO5B4Pvagj5pOBytadpPFef7zAPCzXd1pwPqB X-Received: by 2002:a05:6402:1c8a:: with SMTP id cy10mr8546537edb.232.1625675401361; Wed, 07 Jul 2021 09:30:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625675401; cv=none; d=google.com; s=arc-20160816; b=pzxZSrFNIgNU01GOSxfSRf4/CSpVgn5k/f/0mUc2XMAGk+0V71EyKalMTIzlC1Hxqh G4Erb+mzSnBZTfSZUElpqM56FkXIBtUf0S8pA9FaDsjetPxCcd9PeAjDPk2oefVSqiFL lejObtAgZ7XFd+6pj/YOObDjiqgCqREZz2wI71oXGni7zRsRHLoBEkAW2KPOIxO7HxxU JxHGqN8+SRve0nPdMn+/HqIYRxrfQQ88rFKUAobasSG9mknbb2CijJZSXYGid3NsxxUo NTMCjEEUdA7w2OqECEhzmQr8HUnOQvrgrUlxGim63W8Bwe4s/4yJRg87IKdzs2o9CrV7 BmRQ== 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=ezJ8D561LeiNFNTXI+SFBNGGI82ZzKwSzhWjxdukNCw=; b=V1S6nTX9p/KNwZz/SuDUs7ceejf69PnXiQx7DHg8Dlf/I6Ktuq1fEEgOQ4aP74DyML FhuY3AMwzac88yGBQFbmgNHEH/dfnrwRW972Q2Za5gi7CW68ZXqjKcmlauCbqSH4DZRq mYIrxJAhhphn+JXh1hbnaLVgx8Gf7D0LazU7+jm4KWjX8+jiTDOJWVCihb0h86bTRz0P id7aOmTkZ6XsXFY+Xa7OOYQz7gSkDiZin8y+7158DdD/A58Jxx8lRwG/1HWns4PqOUoa PZ2WTTSpguKj0sdFOGQYFh3unXi3KxFPeCH5zPiEEuRZZP0AgKJ4+5HNz316iohiE4kb 5BKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=fOrdgjp1; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si14401336edt.184.2021.07.07.09.29.38; Wed, 07 Jul 2021 09:30:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=fOrdgjp1; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230343AbhGGQcD (ORCPT + 99 others); Wed, 7 Jul 2021 12:32:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbhGGQcD (ORCPT ); Wed, 7 Jul 2021 12:32:03 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 916ADC06175F; Wed, 7 Jul 2021 09:29:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ezJ8D561LeiNFNTXI+SFBNGGI82ZzKwSzhWjxdukNCw=; b=fOrdgjp1zVUK2yj1F8mQnCBpy0 DPxShUomaX5wPaGIwtx/tpW7tHEAlz8XKPETvLnfxJVS+o0wq/bY8UkGCeHcPJrKmrrfw9GJdMEf2 X/6xcmtLbWsKdhMfQZBUho7vyUqxLiY8QHzP8VV3SWtFh4sLY0iyHmPiNseEwJ8Lg7Xjp3K+SnEf+ X5gBL1Z3xNZaFvRE/GLKRuiI2KqOIdAXx2YWDL4/ZggqSAQ59YnfGFFZKb/piOl3WqYcFfCkOa7OV C/xIO5o0OfftCxKJzq5OFOc3CmaFkSIIhK8sUcJCTJDXhtaPFGQoUFXstkhqfagLn+rSg1H50NYxE tJpu9dcA==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m1APh-00CaF9-Tk; Wed, 07 Jul 2021 16:28:45 +0000 Date: Wed, 7 Jul 2021 17:28:41 +0100 From: Christoph Hellwig To: Eric Snowberg Cc: Christoph Hellwig , keyrings@vger.kernel.org, linux-integrity , Mimi Zohar , David Howells , David Woodhouse , herbert@gondor.apana.org.au, davem@davemloft.net, jarkko@kernel.org, jmorris@namei.org, serge@hallyn.com, keescook@chromium.org, gregkh@linuxfoundation.org, torvalds@linux-foundation.org, scott.branden@broadcom.com, weiyongjun1@huawei.com, nayna@linux.ibm.com, ebiggers@google.com, ardb@kernel.org, nramas@linux.microsoft.com, lszubowi@redhat.com, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-security-module@vger.kernel.org, James.Bottomley@hansenpartnership.com, pjones@redhat.com, glin@suse.com, "konrad.wilk@oracle.com" Subject: Re: [PATCH RFC 00/12] Enroll kernel keys thru MOK Message-ID: References: <20210707024403.1083977-1-eric.snowberg@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Jul 07, 2021 at 10:23:04AM -0600, Eric Snowberg wrote: > > > On Jul 7, 2021, at 12:46 AM, Christoph Hellwig wrote: > > > > On Tue, Jul 06, 2021 at 10:43:51PM -0400, Eric Snowberg wrote: > >> This is a follow up to the "Add additional MOK vars" [1] series I > >> previously sent. This series incorporates the feedback given > >> both publicly on the mailing list and privately from Mimi. This > >> series just focuses on getting end-user keys into the kernel trust > >> boundary. > > > > WTF is MOK? > > MOK stands for Machine Owner Key. The MOK facility can be used to > import keys that you use to sign your own development kernel build, > so that it is able to boot with UEFI Secure Boot enabled. Many Linux > distributions have implemented UEFI Secure Boot using these keys > as well as the ones Secure Boot provides. It allows the end-user > a choice, instead of locking them into only being able to use keys > their hardware manufacture provided, or forcing them to enroll keys > through their BIOS. Please spell this out in your cover letters and commit logs.