Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp575871pxk; Wed, 16 Sep 2020 11:11:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHK3ftRPwqz8zvvHtUraGXqVtYGDCsJ2OYSinNFckrwuST4Mtk//Di/i/VEvdbogH/YrOV X-Received: by 2002:a50:9b44:: with SMTP id a4mr28223094edj.12.1600279873496; Wed, 16 Sep 2020 11:11:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600279873; cv=none; d=google.com; s=arc-20160816; b=KyHqTzH+qAohVIJxB/OaxNexWk37vwSijnq1FtmsT85jiLzB92+bjJ4xo5VNXqlax/ ogVYRiNTKAGkhFZVQC1+wx/U/K1aYVd9Ud9c/nNcznfooulj0rOmfxNl26UPFyYubH90 IiLkC+J4/Ro00IrRMxBuyyp4YmgyQXlS2tkHXdwNM45uXmKKwq16tcW91TzYLHsADvBR G40bTkcs1ZfMVjLXO+iGGeQhkbFGQNZffb82oP8VAhe8mGdDqDvxsj8Yaa5bb8OhN+gD QZ9+++9Y1Tdu8G5TnJjdl1OlKcofCe+zMgPkxe6GqZy0REo6UVU64eXgivxl3G5B8Bt3 /NFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=Sjgm9gdSv4sSgX9e5YcuzOFOYM9kvzhBFWBzP+lKcj4=; b=xa9JCcdVreYxqVIiQqD9w31kUVvozxZqxqJgraoCoelM4A7FSTDyAAZyGOMnjCOcln BUNt+ITANipbbDP3LrBE4727/rIhqMxFcoRIq70FH1OFd/u+lv8ZjH2O03RKZFckrCNh hNNNjyY2SUciVfSLfR17XLDbpE9QS7D+hiUvnbLwjBQtnC/JWGAoNJ8kOCMjxwl+GddI LAqadufQfFvnNWUz7qIItDRNk1xkEHXov47g67mzrzq4j1isNuY2Io4TwEyRyVswXugc BzTXbGdRshPtlDRcRxGrQ7aIbukvgfM8XUW6ywQqyfMdrTqMaiQwL2zXpRm10kwLCfyg rGfQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x25si11891987edr.508.2020.09.16.11.10.41; Wed, 16 Sep 2020 11:11:13 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727804AbgIPSJs (ORCPT + 99 others); Wed, 16 Sep 2020 14:09:48 -0400 Received: from mga11.intel.com ([192.55.52.93]:12675 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727789AbgIPSJ1 (ORCPT ); Wed, 16 Sep 2020 14:09:27 -0400 IronPort-SDR: RK2LhpBUQ4k9/QnPeyOfkvhKPoTzvUvn47D+OXMWlEd24lVwmsueadaMCzgJ2GudD/1XKFsQdx qX0GoOBd0gRQ== X-IronPort-AV: E=McAfee;i="6000,8403,9746"; a="156944438" X-IronPort-AV: E=Sophos;i="5.76,433,1592895600"; d="scan'208";a="156944438" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2020 11:09:18 -0700 IronPort-SDR: c2YZaBfwpgZg0IVWD0z4A32XdPWZkRYKKQ+iJXz1rQh07lGfQ3w0KAyYXU00i8ZDUN/ekyqVN7 +73tVOwYNbhQ== X-IronPort-AV: E=Sophos;i="5.76,433,1592895600"; d="scan'208";a="483411840" Received: from scusackx-mobl1.ger.corp.intel.com (HELO localhost) ([10.249.45.87]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2020 11:09:11 -0700 Date: Wed, 16 Sep 2020 21:09:08 +0300 From: Jarkko Sakkinen To: Eric Snowberg Cc: dhowells@redhat.com, dwmw2@infradead.org, herbert@gondor.apana.org.au, davem@davemloft.net, jmorris@namei.org, serge@hallyn.com, nayna@linux.ibm.com, zohar@linux.ibm.com, 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 Subject: Re: [PATCH v4] certs: Add EFI_CERT_X509_GUID support for dbx entries Message-ID: <20200916180908.GG21026@linux.intel.com> References: <20200916004927.64276-1-eric.snowberg@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200916004927.64276-1-eric.snowberg@oracle.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Sep 15, 2020 at 08:49:27PM -0400, Eric Snowberg wrote: > The Secure Boot Forbidden Signature Database, dbx, contains a list of now > revoked signatures and keys previously approved to boot with UEFI Secure > Boot enabled. The dbx is capable of containing any number of > EFI_CERT_X509_SHA256_GUID, EFI_CERT_SHA256_GUID, and EFI_CERT_X509_GUID > entries. > > Currently when EFI_CERT_X509_GUID are contained in the dbx, the entries are > skipped. > > Add support for EFI_CERT_X509_GUID dbx entries. When a EFI_CERT_X509_GUID > is found, it is added as an asymmetrical key to the .blacklist keyring. > Anytime the .platform keyring is used, the keys in the .blacklist keyring > are referenced, if a matching key is found, the key will be rejected. > > Signed-off-by: Eric Snowberg Looks good to me. Reviewed-by: Jarkko Sakkinen /Jarkko