Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4706324pxf; Tue, 30 Mar 2021 15:05:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2fUdD2SjGFvZ5lGWgZ/Q9ienHf9+IKPtkvQFk/6nR2tmw0JKr4tDpKxESpvxqOBJu6cV0 X-Received: by 2002:aa7:c7d5:: with SMTP id o21mr5443eds.166.1617141950224; Tue, 30 Mar 2021 15:05:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617141950; cv=none; d=google.com; s=arc-20160816; b=vB/oucHtzrbi5ssJzPtSl17OMoPzs6BrYnyorhqWFLJm5OF9wlKByeGjGoI17n35xU gKTbnDkkB4Xr/gH88dMNtKXAP1lQXMfNOE2sJRuDX1Ic55iC4s1y3pVuUExgHP4q93l1 NpOu8YTTmYrvwzPudLBycjmrb8gbxGyWIWXGTPDWa5BqZQbg49LvszYdFTeGalEWg8RK vg6joRWuw2A/GkmquJeesRP7qB0Iz7z19m9V4kdwM9sHAhD40RbczIXijTHIFv8ve4MU pjStYlEnDswO0YIs/3khXmzBsHEM5jvI6LXXshwVaXCp9cJRsngp/nTk/TFr1QqBHO77 TwFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=rsLcyiUdjDO/JwPlLGDRZPqtjPzq/FefLI/0r769QmU=; b=LopGNXuzg3nQ6cwr7FBs/8d8Aw8d8jpqElnqKdX9s9/18STGv47aa8dc6OEc7k2NiE aisgwgWhJGw/1mVTVoFiIQ2GTsPdfVfyN1LmPYMyo221yTMHOwqr0gjDRjxyYhaPdTxM Ncw0qHGLYGndBlFNgsx0Pp8x2G+ntvs588J+cNauzR9Bl76PrZENV3V8xkM5s3HLUPYr HtasSlwP0Twqvkw0IOOKFFGSR+rqIgG4KbyzDJlVRWE0ZnPsYm+t/4hZL8Z40SjFJjWq MJOF2W0A/A/cQ9XPsZtZSBHTNi3H0mVfCGCT9NkqlIGx9Fa+2FtZIfGxVr9sSyGYVwzq Tv7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fnuxO4Rj; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bc17si242276edb.2.2021.03.30.15.05.20; Tue, 30 Mar 2021 15:05:50 -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=@gmail.com header.s=20161025 header.b=fnuxO4Rj; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232882AbhC3WEp (ORCPT + 99 others); Tue, 30 Mar 2021 18:04:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232869AbhC3WEa (ORCPT ); Tue, 30 Mar 2021 18:04:30 -0400 Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC600C061574; Tue, 30 Mar 2021 15:04:29 -0700 (PDT) Received: by mail-qk1-x733.google.com with SMTP id g15so17462199qkl.4; Tue, 30 Mar 2021 15:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rsLcyiUdjDO/JwPlLGDRZPqtjPzq/FefLI/0r769QmU=; b=fnuxO4RjIrvHDZ5iK/ytdE3WACshx3AxcJyhSkUNgT5Y1FXc3gOgTDdoJHClzNggxh iBcHnl50i/gHSU03HQHZcr2at0f8vJWJC2ryWdkE/legp7YM+7Cc+w4qIw2ze7JvdgS8 kr4xPTw9Q6xckiwKtC0aSq7ixuiTlyvMuV8hjkJ1BjMKVggsEVmv5luUT0Cn8YZgK6nI 4z5cjIBXh6Fy5c81Do2qyeUharaKX0PPoD2uCClNIjW7dgU2X3eeOiqyqIRzdmzP6+eP HVWAut/yxf7qZBNvpQthz9Abq+MqEixM2r0eskkznkRJOYfnrgMHPhBYpL+NTCz7W1VX OzFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rsLcyiUdjDO/JwPlLGDRZPqtjPzq/FefLI/0r769QmU=; b=MuPOq0qhzQHV2vY3kHuzhum1pa+kZs2s1gHlXDQAuPsS0v3cxIZMpwlN4GbNViSS5I Pj8GqO4dm9MyuKOJVCSaI/Y7DmrOpRAYK1ZycpeYifwSju0yNae9GyveEcSiDp1Z0ODR OxA4MVWTsylZLbifmP/vtJ/T9u+nkuiJUFI/DdDdFSkrmbVJGi3ujH/qk+UhHgtf/UFO U89b2f4c0JwiRruHiGRtDhY4YE5esabKT9/R6laCiW+HEp2O+zzjtYVou8MZ1Bzke3OJ xJ8DhtmEH5I+Hnnc9CManyzGvznshg9fcr6NbzyRYDNjS2Y+qQIAjIHsN6kaTj+xulAt hE7w== X-Gm-Message-State: AOAM5309oLqb2f5yCkWpDqdm8mKXG9wv9psNMq/rdJEcRaVKVBMDmuEE 5AiWaEUnJbwKQSgsxU+n98pVJIJBitIz9x7OVs4= X-Received: by 2002:a05:620a:14ae:: with SMTP id x14mr364123qkj.237.1617141869090; Tue, 30 Mar 2021 15:04:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Richard Weinberger Date: Wed, 31 Mar 2021 00:04:17 +0200 Message-ID: Subject: Re: [PATCH v1 0/3] KEYS: trusted: Introduce support for NXP CAAM-based trusted keys To: Ahmad Fatoum Cc: Jarkko Sakkinen , =?UTF-8?Q?Horia_Geant=C4=83?= , Mimi Zohar , Aymen Sghaier , Herbert Xu , "David S. Miller" , James Bottomley , kernel@pengutronix.de, David Howells , James Morris , "Serge E. Hallyn" , Steffen Trumtrar , Udit Agarwal , Jan Luebbe , David Gstir , Franck LENORMAND , Sumit Garg , linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, Linux Crypto Mailing List , LKML , LSM Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Ahmad, On Wed, Mar 17, 2021 at 3:08 PM Ahmad Fatoum wrote: > keyctl add trusted $KEYNAME "load $(cat ~/kmk.blob)" @s Is there a reason why we can't pass the desired backend name in the trusted key parameters? e.g. keyctl add trusted $KEYNAME "backendtype caam load $(cat ~/kmk.blob)" @s -- Thanks, //richard