From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A29C9C10F05 for ; Tue, 26 Mar 2019 11:50:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 72E982075D for ; Tue, 26 Mar 2019 11:50:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731357AbfCZLuz (ORCPT ); Tue, 26 Mar 2019 07:50:55 -0400 Received: from mga01.intel.com ([192.55.52.88]:12695 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726258AbfCZLuz (ORCPT ); Tue, 26 Mar 2019 07:50:55 -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 fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Mar 2019 04:50:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,271,1549958400"; d="scan'208";a="330776904" Received: from jsakkine-mobl1.tm.intel.com (HELO localhost) ([10.237.50.182]) by fmsmga006.fm.intel.com with ESMTP; 26 Mar 2019 04:50:48 -0700 Date: Tue, 26 Mar 2019 13:50:48 +0200 From: Jarkko Sakkinen To: Dan Williams Cc: linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, stable , James Bottomley , Mimi Zohar , David Howells , James Morris , "Serge E. Hallyn" , "open list:KEYS-TRUSTED" , open list Subject: Re: [PATCH] KEYS: trusted: allow trusted.ko to initialize w/o a TPM Message-ID: <20190326115048.GB10898@linux.intel.com> References: <20190325144735.30443-1-jarkko.sakkinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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, Mar 25, 2019 at 02:33:38PM -0700, Dan Williams wrote: > On Mon, Mar 25, 2019 at 7:48 AM Jarkko Sakkinen > wrote: > > > > Allow trusted.ko to initialize w/o a TPM. This commit adds checks to the > > key type callbacks and exported functions to fail when a TPM is not > > available. > > > > Cc: Dan Williams > > Reported-and-tested-by: Dan Williams Thanks Dan! /Jarkko