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=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 48DEFC43460 for ; Thu, 1 Apr 2021 05:47:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1A7E66113B for ; Thu, 1 Apr 2021 05:47:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232585AbhDAFqi (ORCPT ); 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-integrity@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