Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4179259ybg; Tue, 29 Oct 2019 03:23:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXz/C6ZCcfUPybnE8o8/3/FFrbQaIPm+eSCctcjTFNmkM9hXyykHNnjnMrEG1/3dz8qKHy X-Received: by 2002:a17:906:6bc3:: with SMTP id t3mr2361124ejs.147.1572344615110; Tue, 29 Oct 2019 03:23:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572344615; cv=none; d=google.com; s=arc-20160816; b=o78B5ClSfZ1i/z5M7y6LXTexY0j60+DH2edwV6P3gFXlklV8p/KUS9caCPcRFyApyQ 3Ss7j1lRj5TjpNQ05Aoi6FXufJDqaOgkoAukx9XuS7qQbOguqud4kdXVgFfnOQ3LcXXS BbYM7ahjukOAmfgyyWWnPlyFNidP66CMwwjDMaZWNetKpHcD1WClEqLICqYyQaFOlkUQ tYjn5QTmzrNL+0FCtf8lrzDTeJ6hDJZQEnfsINnyI6jNalwW5PwxBGlZaKzIBDz26S6j Ow29DG6da5IosgHJy24wy/FL4ZqYT7xu53ArbHfd+vuoG1hFTP+LwDWCFecSaQ8rjQwm TXzA== 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=7a712rRw1g414InyDOFOHPRs/+LTf42fUHW1SafRvqU=; b=ADKGqr6zLGb5e9abz4Qj22SvYUfMhZau3LpmIlD1zlhi331AyMaosheR9jOjqRSsVQ jWQSexcGJ2lZX2W4nHS1jPsODNLHhSUcuqMbiYo0ujMSWQVllnvN2enj7CGvI5+FGAWL rJEK71WYeh1Q3YjBP/jJFXswpLr+qpkpxI5w/0NtxQ0BZlKi6m5DrV+u8kvaR/kePUk7 CrWg6fwne2/VllGMFiW2KMoZZd+rUQUlOThrGeOkJ/5uYw+UN8Yd58pqYp6bUa5vGODL Z8xmEcQxiWYJpHQPixv+1LZ3gT64YLKcLGg8TW9XwS84kRfkOlR/76OVJhNw0LfCE+sG 6bKg== 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 i11si8073703ejy.184.2019.10.29.03.23.11; Tue, 29 Oct 2019 03:23:35 -0700 (PDT) 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 S1731511AbfJ2JPk (ORCPT + 99 others); Tue, 29 Oct 2019 05:15:40 -0400 Received: from mga07.intel.com ([134.134.136.100]:57692 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731459AbfJ2JPj (ORCPT ); Tue, 29 Oct 2019 05:15:39 -0400 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 orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Oct 2019 02:15:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,243,1569308400"; d="scan'208";a="401085508" Received: from jsakkine-mobl1.tm.intel.com (HELO localhost) ([10.237.50.122]) by fmsmga006.fm.intel.com with ESMTP; 29 Oct 2019 02:15:35 -0700 Date: Tue, 29 Oct 2019 11:15:35 +0200 From: Jarkko Sakkinen To: Mimi Zohar Cc: David Howells , Petr Vorel , shuah , James Bottomley , linux-integrity@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] selftest/trustedkeys: TPM 1.2 trusted keys test Message-ID: <20191029091535.GB9896@linux.intel.com> References: <1571944467-13097-1-git-send-email-zohar@linux.ibm.com> <20191028203014.GA8279@linux.intel.com> <1572295513.4532.270.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: <1572295513.4532.270.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, Oct 28, 2019 at 04:45:13PM -0400, Mimi Zohar wrote: > On Mon, 2019-10-28 at 22:30 +0200, Jarkko Sakkinen wrote: > > On Thu, Oct 24, 2019 at 03:14:27PM -0400, Mimi Zohar wrote: > > > Create, save and load trusted keys test > > > > > > Signed-off-by: Mimi Zohar > > > > > > Change log v1: > > > - Replace the directions for using Trousers to take ownership of the TPM > > > with directions for using the IBM TSS. > > > - Differentiate between different types of errors. Recent bug is causing > > > "add_key: Timer expired". > > > --- > > > > Is not really usable as a selftest because of 3rd party dependencies. > > As part of diagnosing trusted keys failure, there is some > hints/directions as to how to take TPM 1.2 ownership, but it does not > take ownership. ?The previous version included directions for using > Trousers. ?This version provides directions for using the IBM TSS. > ?Feel free to include additional hints/directions. You must write your own minimal user space that can be included to the kernel. Otherwise, we cannot take it. /Jarkko