Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp786620pxb; Wed, 25 Aug 2021 15:22:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKEc/QNL9fWlwRoYgInkGIN3xox/ygiUJjdzoCClYeBxB3aN9BdY9TpFri4etK+Pe5xeln X-Received: by 2002:a05:6638:250a:: with SMTP id v10mr617319jat.21.1629930176701; Wed, 25 Aug 2021 15:22:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629930176; cv=none; d=google.com; s=arc-20160816; b=wuBUnAKjBrvs7MXVu1V4RSRvKGWVB7+hWE4f4+H6WfwRvve5v1DbryURKbbILPjSJ+ B4Abdb7kkcd+U0U7BKgxvM+nqi2J1nUgJ+yKSXV9EZPybdrnuYF73817nTi1NkXB1zvI NcjMpSIteVK5rzP+1c/d9ay5rzSNOWwaFoMN8yTqkAC89XTvBalnmZ4n3jVVlpmXQ0d5 wl2F2DmIxNo4LTr3iG8UMHieT0xvI3m/CNnZEYfKGHOpZExrGGQcZ13aUGip9y8IvbJ8 tdJMj4EqAEkNThpikZ2gXwi6Sw9RNTJjV5fhAvtuYsR2MZbXqd4p1hb8f6pRNFwtc1MV qehg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=wiNY+FHpv+eFBsB+mQFMrMSRqW2i9y/AFkuvH3pYmf4=; b=qQo6vzmEzO1bKZyjjywyJNwDXUm10yXASLEkFU7NL051qQl5AmweP+4mxip7oJku2R r6HYQctoKmVKDW9YhIz5WLUeJdJZlkk6VMsjOMYImn9qLhc9iegzwCsmTW1pFh6FQoAv NlixD965c4VV90GrFg1JQUXILao48R6h/pqGAnZjabX+cMSu7Uwev6x9gOoF07r6TB5c wFIcPo8VmVCSB115ELJHW25/4qtJIXOlgNumsPaaZliesbH7iEYLxnRG2hA/he9J/yP/ b/EUuwsTis6liRvdN7eLORdaWlAdFaAUxisyiHCRNvuk0dwvGdz4/yqTWoMOStNgFZG4 Ut7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CCwJRq6e; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i1si955236iow.3.2021.08.25.15.22.24; Wed, 25 Aug 2021 15:22:56 -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=@kernel.org header.s=k20201202 header.b=CCwJRq6e; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232960AbhHYWW3 (ORCPT + 99 others); Wed, 25 Aug 2021 18:22:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:54332 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233175AbhHYWWZ (ORCPT ); Wed, 25 Aug 2021 18:22:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9724D6109E; Wed, 25 Aug 2021 22:21:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629930099; bh=+94ZPV6l/lR/Jo9QrFwrpNqPiVP3tOXGykvHMlJACWQ=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=CCwJRq6ecg7oNO3eI3FVt1altR2AenjzXZskobYFbRFo0reqMnGJSPBWMLDzr9nL2 jkQuJnCn+4QdoAAOhqteykXy5cVM30tCRaBLv2dObdmy2fSdTa2xRVC1IkqqkUGuiZ W5a562m+JkP3XkZ2BzSZ3IDPKozD3jbfBoTb+xE/P76xAY0YyolYT/1kPTOkqKYZCW ZWaTnAYs6zo9/Yz2nBU44d7ptkqsV1iNUPTR2pWe/elybM+QrTGP6mJ8RYSsR1r0F+ Y3h8VyGpDS3XmMzip7oajdGZL7CvOwZdT7IY0Wzqy6UPAFqUxhFhzSyodEB+jtytz6 B/NxC60ok/z3A== Message-ID: <9067ff7142d097698b827f3c1630a751898a76bf.camel@kernel.org> Subject: Re: [PATCH v4 00/12] Enroll kernel keys thru MOK From: Jarkko Sakkinen To: Mimi Zohar , Nayna , Eric Snowberg , David Howells Cc: keyrings@vger.kernel.org, linux-integrity , David Woodhouse , Herbert Xu , "David S . Miller" , James Morris , "Serge E . Hallyn" , 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, Lakshmi Ramasubramanian , lszubowi@redhat.com, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-security-module@vger.kernel.org, James Bottomley , pjones@redhat.com, "konrad.wilk@oracle.com" , Patrick Uiterwijk Date: Thu, 26 Aug 2021 01:21:36 +0300 In-Reply-To: <9526a4e0be9579a9e52064dd590a78c6496ee025.camel@linux.ibm.com> References: <20210819002109.534600-1-eric.snowberg@oracle.com> <91B1FE51-C6FC-4ADF-B05A-B1E59E20132E@oracle.com> <9526a4e0be9579a9e52064dd590a78c6496ee025.camel@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.36.5-0ubuntu1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, 2021-08-24 at 10:34 -0400, Mimi Zohar wrote: > > > > Jarkko, I think the emphasis should not be on "machine" from Machin= e > > > > Owner Key (MOK), but on "owner". Whereas Nayna is focusing more on= the > > > > "_ca" aspect of the name. Perhaps consider naming it > > > > "system_owner_ca" or something along those lines. > > > What do you gain such overly long identifier? Makes no sense. What > > > is "ca aspect of the name" anyway? > >=20 > > As I mentioned previously, the main usage of this new keyring is that i= t=20 > > should contain only CA keys which can be later used to vouch for user= =20 > > keys loaded onto secondary or IMA keyring at runtime. Having ca in the= =20 > > name like .xxxx_ca, would make the keyring name self-describing. Since= =20 > > you preferred .system, we can call it .system_ca. >=20 > Sounds good to me. Jarkko? >=20 > thanks, >=20 > Mimi I just wonder what you exactly gain with "_ca"? /Jarkko