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=-9.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 A909CC433E6 for ; Mon, 25 Jan 2021 08:49:09 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0724122D05 for ; Mon, 25 Jan 2021 08:49:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0724122D05 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=tempfail smtp.mailfrom=dm-devel-bounces@redhat.com Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-403-oxwsTYB2PYix0ogDs9Xizw-1; Mon, 25 Jan 2021 03:49:06 -0500 X-MC-Unique: oxwsTYB2PYix0ogDs9Xizw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 488071005513; Mon, 25 Jan 2021 08:49:01 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 27F6B60937; Mon, 25 Jan 2021 08:49:01 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id F06611809CA2; Mon, 25 Jan 2021 08:49:00 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 10MIIXUM018058 for ; Fri, 22 Jan 2021 13:18:33 -0500 Received: by smtp.corp.redhat.com (Postfix) id 6B62B1031F52; Fri, 22 Jan 2021 18:18:33 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 67D8310336C5 for ; Fri, 22 Jan 2021 18:18:31 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1ED69800B3A for ; Fri, 22 Jan 2021 18:18:31 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-467-f-5F1w1YMJWpWtJ3-b0sxQ-1; Fri, 22 Jan 2021 13:18:28 -0500 X-MC-Unique: f-5F1w1YMJWpWtJ3-b0sxQ-1 Received: by mail.kernel.org (Postfix) with ESMTPSA id 94D1C23A6A; Fri, 22 Jan 2021 18:18:26 +0000 (UTC) Date: Fri, 22 Jan 2021 20:18:24 +0200 From: Jarkko Sakkinen To: Ahmad Fatoum Message-ID: References: <20210122084321.24012-1-a.fatoum@pengutronix.de> <20210122084321.24012-2-a.fatoum@pengutronix.de> MIME-Version: 1.0 In-Reply-To: X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-loop: dm-devel@redhat.com X-Mailman-Approved-At: Mon, 25 Jan 2021 03:48:36 -0500 Cc: Sumit Garg , Jan =?iso-8859-1?Q?L=FCbbe?= , Mike Snitzer , Jonathan Corbet , Dmitry Baryshkov , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, Song Liu , dm-devel@redhat.com, keyrings@vger.kernel.org, kernel@pengutronix.de, linux-integrity@vger.kernel.org, Alasdair Kergon Subject: Re: [dm-devel] [PATCH 2/2] dm crypt: support using trusted keys X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Fri, Jan 22, 2021 at 08:05:51PM +0200, Jarkko Sakkinen wrote: > On Fri, Jan 22, 2021 at 09:43:21AM +0100, Ahmad Fatoum wrote: > > Commit 27f5411a718c ("dm crypt: support using encrypted keys") extended > > dm-crypt to allow use of "encrypted" keys along with "user" and "logon". > > > > Along the same lines, teach dm-crypt to support "trusted" keys as well. > > > > Signed-off-by: Ahmad Fatoum > > --- > > Is it possible to test run this with tmpfs? Would be a good test > target for Sumit's ARM-TEE trusted keys patches. > > https://lore.kernel.org/linux-integrity/1604419306-26105-1-git-send-email-sumit.garg@linaro.org/ Also, I would hold merging *this* patch up until we are able to test TEE trusted keys with TEE trusted keys. /Jarkko -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel 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=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 6D558C433E6 for ; Fri, 22 Jan 2021 18:44:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4DF9823AFA for ; Fri, 22 Jan 2021 18:44:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729990AbhAVSnO (ORCPT ); Fri, 22 Jan 2021 13:43:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:60366 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728630AbhAVSTH (ORCPT ); Fri, 22 Jan 2021 13:19:07 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 94D1C23A6A; Fri, 22 Jan 2021 18:18:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611339507; bh=KNhTFj4b/WjHeWypkT82xEpFT9PVrz9GAch5QmpPHO4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jhAgBJQXrcMcoqHefvG5loiFOINdoHPtPPQp73Ukao4L9S/90LjNnNVFp/EgeRnxx jtc5UPB1ClAdSjAev2DKAz6MLfD29rmtFClcNRg4lNXwcVsuNEL24pQ9Jrpjpsze9/ rABszlpk2JSQhCJXyjU+TwWsDo5r9dRTi7SEb7+/tIKu1jXn0kt9/Eco17fHrH9b8P Z1wu3z0LWuWTRlJjKedYcvmQffmb4TzHvgVokt1ZYtu4P6Bm9R8NoAqqMVduUgQxUP Npsr5+jOKBmV+yBuKW6NQwNKLI8YZWgaCPZd9RDZ56EXPp/dsrj8l7Qv/qTO4VTsn0 ldxvffAhVIprg== Date: Fri, 22 Jan 2021 20:18:24 +0200 From: Jarkko Sakkinen To: Ahmad Fatoum Cc: Alasdair Kergon , Mike Snitzer , dm-devel@redhat.com, Song Liu , kernel@pengutronix.de, Jan =?iso-8859-1?Q?L=FCbbe?= , linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, Dmitry Baryshkov , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, Sumit Garg Subject: Re: [PATCH 2/2] dm crypt: support using trusted keys Message-ID: References: <20210122084321.24012-1-a.fatoum@pengutronix.de> <20210122084321.24012-2-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: keyrings@vger.kernel.org On Fri, Jan 22, 2021 at 08:05:51PM +0200, Jarkko Sakkinen wrote: > On Fri, Jan 22, 2021 at 09:43:21AM +0100, Ahmad Fatoum wrote: > > Commit 27f5411a718c ("dm crypt: support using encrypted keys") extended > > dm-crypt to allow use of "encrypted" keys along with "user" and "logon". > > > > Along the same lines, teach dm-crypt to support "trusted" keys as well. > > > > Signed-off-by: Ahmad Fatoum > > --- > > Is it possible to test run this with tmpfs? Would be a good test > target for Sumit's ARM-TEE trusted keys patches. > > https://lore.kernel.org/linux-integrity/1604419306-26105-1-git-send-email-sumit.garg@linaro.org/ Also, I would hold merging *this* patch up until we are able to test TEE trusted keys with TEE trusted keys. /Jarkko