Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp704241pxf; Thu, 1 Apr 2021 11:19:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzX/bMz6P8I3HGcZPT7D1KkQ91FSfsuV80SvkM2vFkWcq7G5m2VnTl3JJV65y4WtdQfr4AN X-Received: by 2002:a05:6402:3592:: with SMTP id y18mr11176512edc.360.1617301144305; Thu, 01 Apr 2021 11:19:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617301144; cv=none; d=google.com; s=arc-20160816; b=M9vz4RKWfwh8aDi5yTqwib3hXzGpbLQNSMnZtDfsLFmZfWxnU+Z7x+7vgLW1lXLope Ws/RZZlynTvAqdNxwfm7aKDd8d7ID9eGKK0DUdcTEWvy2KT2WZyv2dbeChyNqJPolGUe YSWCe/3n3fhQm88qMsApO4PtNlrm1MDG9wQBfG2BUZny7BK5r4ZT1LQNcw0B3mYXMFHZ sVa8Ph/ycdlE1auet0qrQ52u6DnUCm1s6GAOrgQx/96TCUTRu7OR1viHLfhJSObgbNOm jJKcaGc2UnSva7gDGQGSLkNak+GRwkP8iM2ZCyW/imlk8nv8SBUWpBNby18u4md8sE8J 9xQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=D7oqdVds+5mpOli8elWeuPQyD1vMD2OeYSKfEZLikY8=; b=Z237c9CcGLOh7plsuOhGJl4d2xmHpNvFotgGS43ihDChYI26oxISCkdXgzIpkXEvXU nzcGSsTkSySHJJlhhZPMLYV0xbP3m6jFeRfswfst4Aw5/k3AukxIsBqTdNWps+7anFhT 1fv80hE/bpAfZvYms1PYQ1lp7q//aoAyjM7iFbKHLRDB3QEQKtARk7FB5jHGKgg103kZ 4DXGwf6hKO8FMWmG5OQOD/NUvvpPyFKRHdCaViyBR8HdIbkftfiqVL5W15KUS2gLZsW4 iezYjWsjixjATbT/XcKbUZCKBP0Pd/F9ylxXeNsVICovOt4I8h6cOoog+kbWQHoUeoQO R6kg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a21si4719266edn.317.2021.04.01.11.18.39; Thu, 01 Apr 2021 11:19:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237370AbhDASNu convert rfc822-to-8bit (ORCPT + 99 others); Thu, 1 Apr 2021 14:13:50 -0400 Received: from lithops.sigma-star.at ([195.201.40.130]:41070 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234273AbhDASGq (ORCPT ); Thu, 1 Apr 2021 14:06:46 -0400 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 4FD18606BA25; Thu, 1 Apr 2021 15:17:46 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id bJBE-i7eTNS0; Thu, 1 Apr 2021 15:17:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id D512A606BA2C; Thu, 1 Apr 2021 15:17:45 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tRm9oOfPG5bU; Thu, 1 Apr 2021 15:17:45 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 99E80606BA25; Thu, 1 Apr 2021 15:17:45 +0200 (CEST) Date: Thu, 1 Apr 2021 15:17:45 +0200 (CEST) From: Richard Weinberger To: Sumit Garg Cc: Ahmad Fatoum , Jarkko Sakkinen , horia geanta , Mimi Zohar , aymen sghaier , Herbert Xu , davem , James Bottomley , kernel , David Howells , James Morris , "Serge E. Hallyn" , Steffen Trumtrar , Udit Agarwal , Jan Luebbe , david , Franck Lenormand , linux-integrity , "open list, ASYMMETRIC KEYS" , Linux Crypto Mailing List , linux-kernel , LSM Message-ID: <1666035815.140054.1617283065549.JavaMail.zimbra@nod.at> In-Reply-To: References: Subject: Re: [PATCH v1 0/3] KEYS: trusted: Introduce support for NXP CAAM-based trusted keys MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF78 (Linux)/8.8.12_GA_3809) Thread-Topic: KEYS: trusted: Introduce support for NXP CAAM-based trusted keys Thread-Index: b36oPlTcuCXRSzXZSqikRqY0W9mM2w== Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Sumit, ----- Ursprüngliche Mail ----- > Von: "Sumit Garg" > IIUC, this would require support for multiple trusted keys backends at > runtime but currently the trusted keys subsystem only supports a > single backend which is selected via kernel module parameter during > boot. > > So the trusted keys framework needs to evolve to support multiple > trust sources at runtime but I would like to understand the use-cases > first. IMO, selecting the best trust source available on a platform > for trusted keys should be a one time operation, so why do we need to > have other backends available at runtime as well? I thought about devices with a TPM-Chip and CAAM. IMHO allowing only one backend at the same time is a little over simplified. Thanks, //richard