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=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 CFDDCC433FF for ; Thu, 1 Aug 2019 10:27:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A03282087E for ; Thu, 1 Aug 2019 10:27:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ay0iN73J"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ILM98uDe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A03282087E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ikr9KFauxocuCylbrqBvm9tHs3WzjNEQu5kEuJkF5fI=; b=ay0iN73JyFqydI TV84uPonNIbqDn/vIY9g7gQe6KOo9GFv8FO1NkP+T7ZNRpATBu/9Kk1daaNzGYk9siByzjmHzuted oCOeMnUr6IdXJuH5uH2SwL/SFEHcocffWU3LnCWVGcN1RSPtLtzwjysb28glBxfjyqxmo5FqcqkZd ZCXPBLjSiM5GN8ws63kyFzDADalojQ+FJXY/CYtrLE3Rm+E70M7pFSqGz58TqIkYm4smocsjhBZNd GeKyyhGoXHo373mC4PIKBm/tZuOudRQ+3lT8aLLOZKKFmBFkY5X2h4SDG+IcCjgkCVO2PALo5CWKZ 6bBzpI8XN6Lo1dy7wzrQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1ht8JC-00036o-7c; Thu, 01 Aug 2019 10:27:42 +0000 Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1ht8J8-00035D-Gi for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2019 10:27:40 +0000 Received: by mail-lf1-x142.google.com with SMTP id r15so32852970lfm.11 for ; Thu, 01 Aug 2019 03:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WavWyKi8xsYiSOtxhL/Mupk8NjZ0g0ho0jTiP91yMfo=; b=ILM98uDeH4Kq4OeEe/3O0IuQ1XoT0Qrd38bGRpHpc3YusALaKFR5/NOUMP1lmLymeL uerpCmuZR0a1Ra+J73y/ObaEd3+lTlP+dZRGaqKwbJ5arq4Dpi9co1/B/neD92Q2EM9o GaJZgvDUjykVsBwgoxzGc0Yi4uiXhFR1WxNFbCKjIyWlRjAqYjRv7UpAuWRa+KOyiTSI 4ekpU/2spRg64dnda+XLs9xM5a6iUu3cw0WBJ+BV6IV+srs+pRbtYrqupbnr4gqMoCIs 3kdTbq6UX1CSHZkp7klNL5IqDWMCnxgiRV98mt9LYpxn2mukho+gu6Gs/5Qm/eJnVEHP FmBw== 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=WavWyKi8xsYiSOtxhL/Mupk8NjZ0g0ho0jTiP91yMfo=; b=KNNgKc+X/beVZxeK2bYS3l5Dmu74um1/horCub+m7ktVC2al9TGcpibnJYH8gjcPaW yy37powmGC/xxRwp5TrRYmZPz6mSg8mgPboWVVGk7eFAvhQWn1hDMjuuU4qC8+UTg5Gp XQMgguAKG/0RstfNclgx3Y11Zj/t8lsRhJ2S6XhZAu/4bicRd6bduc6xT0iAr7uDB+OH t/GQjWiyXvegjTT0Xd6PQ+12/Te816Tz+l09bRUHmhU7U0AuN7kxu5nE5RJSo7/ZRui4 WfZcnqRqcQpnkuJSEFB2RpIn+TxlZnGDaPmdHDzFXYGqp83Nt7Fw9Li5v+1rhJT6jk+J Ze5Q== X-Gm-Message-State: APjAAAWx3R3EWRJa36nZQ0gJ43Tb1jhxEfzpYMt4EVHtmr/yrFgda5Zf yChvucmotiKhkTT2h6/Hqn9dbzvMXLuZOwCL4G48Pw== X-Google-Smtp-Source: APXvYqwcjanstBYp6ci2fM+2NuJ04h4Vkq12OnvRSlbvhbEkiqzESM49hkfaP96wyF8xEMXGU6rNE8v77LiXVZl4mq0= X-Received: by 2002:ac2:5094:: with SMTP id f20mr63091641lfm.186.1564655256560; Thu, 01 Aug 2019 03:27:36 -0700 (PDT) MIME-Version: 1.0 References: <1564489420-677-1-git-send-email-sumit.garg@linaro.org> <19d9be198619e951750dedeb4d0a7f372083b42c.camel@pengutronix.de> In-Reply-To: From: Sumit Garg Date: Thu, 1 Aug 2019 15:57:25 +0530 Message-ID: Subject: Re: [Tee-dev] [RFC v2 0/6] Introduce TEE based Trusted Keys support To: Janne Karhunen X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190801_032738_568052_5BC98F49 X-CRM114-Status: GOOD ( 16.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dhowells@redhat.com, Daniel Thompson , Rouven Czerwinski , Ard Biesheuvel , jejb@linux.ibm.com, Jonathan Corbet , Linux Doc Mailing List , Linux Kernel Mailing List , Jarkko Sakkinen , "tee-dev @ lists . linaro . org" , linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, Mimi Zohar , Casey Schaufler , linux-integrity@vger.kernel.org, linux-arm-kernel , "Serge E. Hallyn" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 1 Aug 2019 at 14:00, Janne Karhunen wrote: > > On Thu, Aug 1, 2019 at 10:58 AM Sumit Garg wrote: > > > > Anyway, just my .02c. I guess having any new support in the kernel for > > > new trust sources is good and improvement from the current state. I > > > can certainly make my stuff work with your setup as well, what ever > > > people think is the best. > > > > Yes your implementation can very well fit under trusted keys > > abstraction framework without creating a new keytype: "ext-trusted". > > The fundamental problem with the 'standardized kernel tee' still > exists - it will never be generic in real life. Getting all this in > the kernel will solve your problem and sell this particular product, > but it is quite unlikely to help that many users. If the security is > truly important to you, would you really trust any of this code to > someone else? In this day and age, I really doubt many do. There are already multiple platforms supported by OP-TEE [1] which could benefit from this trusted keys interface. > Everyone > does their own thing, so this is why I really see all that as a > userspace problem. > IMO, we should try to use standardized interfaces which are well thought off rather than implementing your own. [1] https://optee.readthedocs.io/general/platforms.html -Sumit > > -- > Janne _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel