Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp229435pxf; Wed, 31 Mar 2021 22:47:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZcl2+B65+cq+qxueNtNSgD2sWP2BCxWUpObjgPL7HlIn5rTKw2KQKSJHP+Q7DGCmkFF4t X-Received: by 2002:a17:906:39a:: with SMTP id b26mr7534921eja.158.1617256068740; Wed, 31 Mar 2021 22:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617256068; cv=none; d=google.com; s=arc-20160816; b=EutAnEa6uh4c4Q9/JVD9ipLyK8COr+x+Ciyxg/skBVqXx7Uaadyr3PuTx675AHLw2/ ZzO+VKZ2cZ/rVqULo4KgzhypDgTFofSNc41fOHN8W4odL19X003lX4tdtadSzqr6aezg 2Kv2/hVeXfMfi2XU0unTp1knLKJAIPUF+vJQR+79YyyrF3yhMZGefMlqQOLwqMjdeVEJ 1eFOcZiiLUI18DXMypvwl0jjNjaJPAW0L7y3vkcxoUrVxCFlMYr+Bq4qsUa330O/KDCd OK4QUWkRjMSGNa7m15DDLffpLMeqky8dLFOqPHsms9CT8ZakeTA0LS6qHBIe9yVM/a+U NcNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lokR60IjYioj0BplnIzS7qdjyJKQI7981ejP5Nw67m4=; b=0SU3o5HNFtvoX+thvslej4QBhBIUhmxrUqTIqWpOnv1I8N0sAay2W/bIs3SNtTwim9 2cxnNN54V/EektqE9MvHMkBpzZsEB+uqHSgzWLsJ3UICqDFXx9hwxOgfQft+2dvGWCvM vqCrlHmoZ+Mi0beBsTY2d4LCTRWfv86amPHBOhtouHDVOAu94aVF9mx+s3nXjwTB5oib 3BoXCJ0uG79+KRyOckM+ox/4Re0ofktPsnH6aYY7oemKu9VfRtToqhtoiMzPz3VN9DRv /Ef2Pn6D03UIt72ArIN2/wfIfIbji+I1t4lALXGqokmREHrfDMCcx+bNnK9kauVtvrxY xu7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DJuDKPMU; 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 s20si3748781edd.177.2021.03.31.22.47.14; Wed, 31 Mar 2021 22:47:48 -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=DJuDKPMU; 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 S229515AbhDAFqi (ORCPT + 99 others); Thu, 1 Apr 2021 01:46:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:44980 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbhDAFqS (ORCPT ); Thu, 1 Apr 2021 01:46:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C465061105; Thu, 1 Apr 2021 05:46:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617255978; bh=gxlixb9ixquq1ytVeiB0zWryyTuL9Sy+kKcjFn97ypc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DJuDKPMURR1uM8Jva7ld8d3o1JQmXobSSyzpuhX17V1zmixlgUMSqI89FoUzr627J zuWG9c6TjUdH1avGicc8aiQ660VrJKuvqT6FhxGWVsnd40sSxddxKHlwjgKdHKInYG YsMHr+D8kTvE9/Dw7sUIjFi+2yvJD0aIqfsCSiqoSd6HTA6AX/jPR8iwMywSfOqu0s aaHKat+asI7ZAmwTKFI8P+OE/2nPqCUZp7tD8DitfRaH79OJ696D5uDYIkvnR/ydXZ g1KzVW3HnNolU9EKka11lTfR0roEffxv+rLyr3XTTwwm7P0AjAbWOeZxSh7QG5qA69 22El4veFSw2Yg== Date: Thu, 1 Apr 2021 08:46:16 +0300 From: Jarkko Sakkinen To: Eric Biggers Cc: David Gstir , Sumit Garg , Ahmad Fatoum , Mimi Zohar , Horia =?utf-8?Q?Geant=C4=83?= , Jonathan Corbet , David Howells , James Bottomley , "kernel@pengutronix.de" , James Morris , "Serge E. Hallyn" , Aymen Sghaier , Herbert Xu , "David S. Miller" , Udit Agarwal , Jan Luebbe , Franck Lenormand , "keyrings@vger.kernel.org" , "linux-crypto@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-integrity@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-security-module@vger.kernel.org" Subject: Re: [PATCH v1 3/3] KEYS: trusted: Introduce support for NXP CAAM-based trusted keys Message-ID: References: <63dd7d4b-4729-9e03-cd8f-956b94eab0d9@pengutronix.de> <557b92d2-f3b8-d136-7431-419429f0e059@pengutronix.de> <6F812C20-7585-4718-997E-0306C4118468@sigma-star.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Mar 31, 2021 at 04:34:29PM -0700, Eric Biggers wrote: > On Thu, Apr 01, 2021 at 02:31:46AM +0300, Jarkko Sakkinen wrote: > > > > It's a bummer but uapi is the god in the end. Since TPM does not do it > > today, that behaviour must be supported forever. That's why a boot option > > AND a warning would be the best compromise. > > > > It's not UAPI if there is no way for userspace to tell if it changed. > > - Eric It's enough uapi for me. People might assume that the entropy source is TPM for this, since it has been so far. /Jarkko