Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp900715ybl; Wed, 11 Dec 2019 09:14:49 -0800 (PST) X-Google-Smtp-Source: APXvYqzXxDTvvTDfTXQP7Eg862OphjnO3Lx04JTbJuCzW72p7uBpFcbKZQ4lKhStVLdd9D1bmy/d X-Received: by 2002:a9d:c29:: with SMTP id 38mr2842771otr.1.1576084489773; Wed, 11 Dec 2019 09:14:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576084489; cv=none; d=google.com; s=arc-20160816; b=E1Za2aVVbU0/Ymfz6DaNwQPJI3bQGm7VjGSpiIKcgoQE1y8fm06J19xH4hIYoi4v3Y BtYnVfXaOfB8jrrqU0sERmjlWmfaHwpp3qhr3d4/49kGnS7cNEi1qSNgLYcrnR/3BkmU d/WlkPOx3hD/hEEeblLxjbsqLJ2MMhp3cCifAfhWK6KJr31U/5utEkUt91gjo2psUWbS gX+W8QXrm/GeIlBeMXOmPSIpEgWRb84ggPxcuF5O6BjudiYhjpxHfECnx2VlUlm9QO4T 4qb8rGNZD6yBJHqb8uWih9UM+H2TF+MgMh74LzHHUPcFbxqnRnxwPzlUgBQ03gMmxEAE adkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=U3cLD87B5aPUg/b+o0j2TGAR8asUP9hacHHlJzKY2qE=; b=Jdg4Tp9axV9XLbra2KxdWO8MwZYxKt18sLu/7tF/EoXCsIaUkkGDBIG+9hU4OwK6Pr BAIWLE/vQH/IZSDEii0abOcCxbRSLWAIsRTXoispSOYl6zhwE99h15LqFG1kOw3eKAcn fHdVvwi1CylmCt/6w2PUmUOzFIFil/Amt1YLCD6Sr6mJ4LUeZzhwCRhYGQewxJYkqWWJ JdiX8M00yvzPubXtn/KqOe6W47eRb07ryNtgOWSR7QwPhnr2tVMQMxCHW/1KiSdHGawy 6W8Shwql8cJIEyaSh5z56U12TVKi2q4S1gGE39yGgADpRHuB0uGm4qi+96iKMkHtKM3k 2UnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id 77si1475423oie.10.2019.12.11.09.14.36; Wed, 11 Dec 2019 09:14:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1730929AbfLKRMc (ORCPT + 99 others); Wed, 11 Dec 2019 12:12:32 -0500 Received: from mga03.intel.com ([134.134.136.65]:46794 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730158AbfLKRMc (ORCPT ); Wed, 11 Dec 2019 12:12:32 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2019 09:12:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,302,1571727600"; d="scan'208";a="414924854" Received: from cebrenes-mobl1.amr.corp.intel.com (HELO localhost) ([10.251.85.152]) by fmsmga006.fm.intel.com with ESMTP; 11 Dec 2019 09:12:23 -0800 Date: Wed, 11 Dec 2019 19:12:22 +0200 From: Jarkko Sakkinen To: Mimi Zohar Cc: James Bottomley , "Zhao, Shirley" , Jonathan Corbet , "linux-integrity@vger.kernel.org" , "keyrings@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , 'Mauro Carvalho Chehab' , "Zhu, Bing" , "Chen, Luhai" Subject: Re: One question about trusted key of keyring in Linux kernel. Message-ID: <20191211171222.GA4516@linux.intel.com> References: <1575260220.4080.17.camel@linux.ibm.com> <1575267453.4080.26.camel@linux.ibm.com> <1575269075.4080.31.camel@linux.ibm.com> <1575312932.24227.13.camel@linux.ibm.com> <20191209194715.GD19243@linux.intel.com> <1575926334.4557.17.camel@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1575926334.4557.17.camel@linux.ibm.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 09, 2019 at 04:18:54PM -0500, Mimi Zohar wrote: > On Mon, 2019-12-09 at 21:47 +0200, Jarkko Sakkinen wrote: > > On Mon, Dec 02, 2019 at 10:55:32AM -0800, James Bottomley wrote: > > > blob but it looks like we need to fix the API. I suppose the good news > > > is given this failure that we have the opportunity to rewrite the API > > > since no-one else can have used it for anything because of this. The > > > > I did successfully run this test when I wrote it 5 years ago: > > > > https://github.com/jsakkine-intel/tpm2-scripts/blob/master/keyctl-smoke.sh > > Thanks, Jarkko. ?Is this test still working or is there a regression? I will run it and in addition to that I will make a patch out of it. Any suggestions for the script name (should probably have 'tpm2' in it at least)? /Jarkko