Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3189803pxa; Tue, 18 Aug 2020 08:47:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1JRi5+ar9/3a/+7acBy7637guINmOyhJPZtSuN33pyLbiLuEIlSQTA5bJODBuW5aVOZta X-Received: by 2002:a05:6402:3135:: with SMTP id dd21mr21259635edb.123.1597765655635; Tue, 18 Aug 2020 08:47:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597765655; cv=none; d=google.com; s=arc-20160816; b=p9rYv67ZTNOiwl949xvD+CRSK6ioIIHMqG+6T4L0aN1JrPDSiOr7uwonfYTvbPsJ3f zQGEM76TsFF1VcvTUAbF9p+2lJcSD/SXZQ6WHEK/36I4Qo+q4SpY4HH0i1K3W06HjIak NsDqx2f3GWV2MlHHl/1p52uLG2Xr37YcBJOCYxO9RygyhyfSe6ZHmZ+8WwbrLgr2pQP/ sxEJRDXkTjcxuAjG3MoDAU2rEFPXWT1ph24JEzt/uJJIYy+cXn2NwLnZfUNu7EnveWlx +oabsqLnGbRultDZe+Dkfdrh1IhlagCN2dPvD7y8fkRYcF26UAgbA5+Lla9RPjpkq9Zd vC9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=fX5jCCpGUQRnIxYwPV2Tz/GFF7U2v4Gps6NIh54Pvfo=; b=VKtQKarvXaMOwU6Sad6nzS4/3XCgxPs3HeYLLxWLX2oHo4vGXp9ZvhpbMazteNNRud B4h2mIof2Cj2IRS7UVQSFQGz5OcisY4dZn2fvYTaR9hz0yJaRt4LEYvD1tarTp9sAt9H jEZoxF+wLQcy7Euhm2MwVh4EQXNiFoNNWlFwMFeyHHiAiJ5QWfWYxYtFWlJMGXXURiUF 8nA7Ej8gH3MwUiPgR+wv8Ykf3qzZ+/pJA3QZ7pysRHc4hl6MN523thv17evgPzhH1NGf nx6GdPq8LEf7t0ezWKSbuWAx2FeiikviI0PsLO1CkiwOfSFQbf8SfZd6KEPEpc7Hvy3Q g61g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si13116893eje.650.2020.08.18.08.47.11; Tue, 18 Aug 2020 08:47:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728038AbgHRPp5 (ORCPT + 99 others); Tue, 18 Aug 2020 11:45:57 -0400 Received: from mga09.intel.com ([134.134.136.24]:39627 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727770AbgHRPpf (ORCPT ); Tue, 18 Aug 2020 11:45:35 -0400 IronPort-SDR: PqBHDbmlU/dRhgnHQEu6bpTIgeeX0MTUm+tGgQWqzJcBOIuqj3nzuGCHpadezj1fAlwZmu0jpW /DMUSR9/b7/g== X-IronPort-AV: E=McAfee;i="6000,8403,9716"; a="156016569" X-IronPort-AV: E=Sophos;i="5.76,327,1592895600"; d="scan'208";a="156016569" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2020 08:44:47 -0700 IronPort-SDR: T9Fg95g8XxLenJ5jQDfLCFegfIwxQ9pjRGDy3DrWpASLq6K2h2Wvzw2iMobVVHYE72TcDFbo6R MMHEABIuZ0uQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,327,1592895600"; d="scan'208";a="497411171" Received: from ribnhajh-mobl.ger.corp.intel.com (HELO localhost) ([10.249.47.113]) by fmsmga005.fm.intel.com with ESMTP; 18 Aug 2020 08:44:45 -0700 Date: Tue, 18 Aug 2020 18:44:44 +0300 From: Jarkko Sakkinen To: James Bottomley Cc: Coly Li , Stefan Berger , keyrings@vger.kernel.org, linux-kernel@vger.kernel.org, Dan Williams , Mimi Zohar Subject: Re: [PATCH RESEND] docs: update trusted-encrypted.rst Message-ID: <20200818154444.GA137138@linux.intel.com> References: <20200815075143.47082-1-colyli@suse.de> <1597595769.8344.7.camel@linux.ibm.com> <1597597933.8344.13.camel@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1597597933.8344.13.camel@linux.ibm.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 16, 2020 at 10:12:13AM -0700, James Bottomley wrote: > On Mon, 2020-08-17 at 00:57 +0800, Coly Li wrote: > > On 2020/8/17 00:36, James Bottomley wrote: > > > On Sun, 2020-08-16 at 12:06 -0400, Stefan Berger wrote: > > > [...] > > > > A note in this file states this: > > > > > > > > Note: When using a TPM 2.0 with a persistent key with handle > > > > 0x81000001, append 'keyhandle=0x81000001' to statements between > > > > quotes, such as "new 32 keyhandle=0x81000001". > > > > > > > > Now if someone was (still) interested in TPM 1.2 > > > > adapt the note to state that these keyhandle=... should be > > > > removed for the TPM 1.2 case. > > > > > > Actually, I also have a plan to match what userspace does and > > > simply assume a keyhandle of 40000001 (generate an EC Storage > > > Primary Key on the fly) if it's not specified, which will make the > > > TPM1.2 and 2.0 versions of this the same. Unfortunately the > > > necessary precursor patches are taking an age to get upstream. > > > > Hi James, > > > > Do you have a plan to push such patches into upstream soon? If yes > > than I may wait for your patch and withdraw this one. > > Well, as I said above it depends on not yet upstream precursor patches. > They have been pending for about a year, so I've no real idea of the > timeline. > > James As far as I remember there was not much left in the previous version to do. Some time has passed when it was discussed but I recall it was mainly about documenting the key format. /Jarkko