Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp124967pxb; Wed, 27 Jan 2021 03:57:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4q3mFRflfOTselay7H3AR/wlGPuIHuex589IPpT9GeC6H/u8tCOrr89pv+r93w7iyZtuT X-Received: by 2002:a17:907:36a:: with SMTP id rs10mr6669908ejb.281.1611748663359; Wed, 27 Jan 2021 03:57:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611748663; cv=none; d=google.com; s=arc-20160816; b=GnGdq7TzJWq/PL062+5GtbM6K9i5tvnRQ+CmUlS+NWThpUAiGp7Wda6+v1Nu5HFR46 gIqfKC0kwqo3+9qiMc2pjQGkxg/HzWxdjDLS0rBCo23Ut/v5pHe+k0N57LwKbF3K588+ y8VoRlrX/gDSqW055zKkgDDTKY/lgp3cjkqKpI1hH8KRqjj1+2vePmFkpL2H2aQdRH+Z IWnfbJJMwlswi3X0fId9VaMX79oSsZhk0VJCdc0Co2gh9u1kbZaKDf+qi0Z64u/zzvYy YPFpsUMzyscygSzALMT8whz4/IoT3JJ8y6P1pIAszOj8JRtcFV9aKqFQZr7sMlRJeEcS SPog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-transfer-encoding :mime-version:subject:cc:to:references:in-reply-to:from:organization :dkim-signature; bh=uGnFFbNsJBXnBWydvWton8GaNo0bt/G64Cx3q+ooLGE=; b=cD5B/dKj/H4EpRURck6rEcZ01ONKYdcIo8GlT6NeD1SqbesILgF4fUjQ4vKai9AIFd SOWI2w5FfGP1RMMjA2rDTKRwrPa6b4fRwMf3eerFGLA1qOjqws4ixqmNqGpjhcvIFip0 5+1jq1MyLA0Al3uioi/jLXlJbRL5Ik78lGGfJhpDUMW6jXKWnpzDlPsN4JhxlEd32/Cf N9hsa5YpIUz7yEWKsFM59Fytrk/wottN6E6sctq2EITVUjJKXYYZDr9u68bPZvr3tSgy fKp/9EQcZA+vWXvejLkbl13g8Qg10F3DpYzg4hWyXIuFj65yFQZNn3+Y+wmeJrGMjVh9 9ctw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FRvO9NAD; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l13si770947ejg.426.2021.01.27.03.57.01; Wed, 27 Jan 2021 03:57:43 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=FRvO9NAD; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233745AbhA0Lzy (ORCPT + 99 others); Wed, 27 Jan 2021 06:55:54 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:27113 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236973AbhA0Lrs (ORCPT ); Wed, 27 Jan 2021 06:47:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611747982; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uGnFFbNsJBXnBWydvWton8GaNo0bt/G64Cx3q+ooLGE=; b=FRvO9NAD05eCKxqu0jenJskPI55i0i8V/72Oe0EPT66t/hkB4aljVieLGaPjyAnvOrj8Hr 4lNBtJYcv/AZSM41qarb5ayHI/yPXRVEEn0VdAz0jGy7GgZTdIPfypW9WFjJowgoF9sSCR L+gwwJUbwUp8TJSDcWRFZaVx5n6jMkE= 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-525-BzXRkwwmNAyQlm6f4Tn4tg-1; Wed, 27 Jan 2021 06:46:18 -0500 X-MC-Unique: BzXRkwwmNAyQlm6f4Tn4tg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4694B8030A3; Wed, 27 Jan 2021 11:46:16 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-115-23.rdu2.redhat.com [10.10.115.23]) by smtp.corp.redhat.com (Postfix) with ESMTP id 355375C1A1; Wed, 27 Jan 2021 11:46:12 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <20200916004927.64276-1-eric.snowberg@oracle.com> <1360578.1607593748@warthog.procyon.org.uk> <2442460.1610463459@warthog.procyon.org.uk> To: Jarkko Sakkinen Cc: dhowells@redhat.com, Eric Snowberg , Jarkko Sakkinen , dwmw2@infradead.org, herbert@gondor.apana.org.au, davem@davemloft.net, jmorris@namei.org, serge@hallyn.com, nayna@linux.ibm.com, Mimi Zohar , erichte@linux.ibm.com, mpe@ellerman.id.au, keyrings@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-security-module@vger.kernel.org, James.Bottomley@hansenpartnership.com Subject: Re: [PATCH v4] certs: Add EFI_CERT_X509_GUID support for dbx entries MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 27 Jan 2021 11:46:11 +0000 Message-ID: <3063834.1611747971@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Jarkko Sakkinen wrote: > > I suppose a user space tool could be created. But wouldn=E2=80=99t what= is > > currently done in the kernel in this area need to be removed? >=20 > Right. I don't think this was a great idea in the first place to > do to the kernel but since it exists, I guess the patch does make > sense. This information needs to be loaded from the UEFI tables before the system starts loading any kernel modules or running any programs (if we do verification of such, which I think IMA can do). David