Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1764667ybb; Fri, 29 Mar 2019 10:50:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqz12BokiqL/EK3hZ/Ww4auyjN2mPfXD0dMaS0NE4OUdCn+fFNErZ+TaKGMKxQuLnBusexIk X-Received: by 2002:a17:902:7b96:: with SMTP id w22mr15154133pll.28.1553881810543; Fri, 29 Mar 2019 10:50:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553881810; cv=none; d=google.com; s=arc-20160816; b=f2bwziMnOuCu7fnaWH1+5s20RG09oltbqN5ZUFdW5MymU4HL8Wei7ApHIWD/KFCdGE zdTvDgalhFemP/pxBVLBaX+HGGlnKjqcg0JW80MH5a/wM1XLPQRk3I/19DRxjb2APpJK 6Avc6ADBnFbUNPYptu3zc8KAEbmZySoiqGlz+C32M25VIYi9RikzimkI+LmVOHEpJN8V xJhWWZTZ1TS3nExqwjGKzr30rkqj1Xn2c1QgG3+QD/gPBKUDbXHhjNtnfZDKPrBWgaiE LDK+7IUnPA28iEHVTF7EuSTuj3WXVd9dYha+A4Hlu1RAM4ELcnYjOU8d1U+fkkmKFCVu aanA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=5SCGK+8eeNbhZcqItzMfCUzNU8qGB/Vm0L3vD2qGyDA=; b=QNozZEPatF0uYuoF2rqUzb6MRJJERMg+CFLAxbIYcxMoRUHYeVDFZq8Lq+S2RXyiZ7 1TCIXH3q3agHjR7tNDk4cvBcP676nir5DWuSWVXS+7XlTGDfaNuBM3PG2zEtJSlj8xLd 3069ZeOCAvwAdTjwmwsTmd4SUOvWRjMNgyXpRJ9hrjnUrbneiu7vS7nQO7nLZHZ5OEBF gGXa/QQlTX8jcDQBQ0+NNNo0HS+DV8J23fepq0uCd9lKARGG9FxhfpwLZLEH1om2bFrV /xzXiRBSZm5BItmCKWQyurc4F9a8LWg5qkoI66nEKTqpqDeIBwcBX1/olY756fW6MgYG XwXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1si2452816plb.276.2019.03.29.10.49.54; Fri, 29 Mar 2019 10:50:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729936AbfC2Rrx (ORCPT + 99 others); Fri, 29 Mar 2019 13:47:53 -0400 Received: from smtp.nue.novell.com ([195.135.221.5]:36696 "EHLO smtp.nue.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729646AbfC2Rrw (ORCPT ); Fri, 29 Mar 2019 13:47:52 -0400 Received: from emea4-mta.ukb.novell.com ([10.120.13.87]) by smtp.nue.novell.com with ESMTP (TLS encrypted); Fri, 29 Mar 2019 18:47:50 +0100 Received: from localhost (nwb-a10-snat.microfocus.com [10.120.13.202]) by emea4-mta.ukb.novell.com with ESMTP (TLS encrypted); Fri, 29 Mar 2019 17:47:13 +0000 Date: Sat, 30 Mar 2019 01:47:07 +0800 From: jlee@suse.com To: Mimi Zohar Cc: "Lee, Chun-Yi" , David Howells , Herbert Xu , "David S . Miller" , keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] X.509: Add messages for obsolete OIDs Message-ID: <20190329174707.GC3701@localhost> References: <20190322062738.19852-1-jlee@suse.com> <1553715364.4608.36.camel@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1553715364.4608.36.camel@linux.ibm.com> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mimi, On Wed, Mar 27, 2019 at 03:36:04PM -0400, Mimi Zohar wrote: > On Fri, 2019-03-22 at 14:27 +0800, Lee, Chun-Yi wrote: > > We found that the db in Acer machine has self signed certificates > > (CN=DisablePW or CN=ABO) that they used obsolete OID 1.3.14.3.2.29 > > sha1WithRSASignature and 2.5.29.1 subjectKeyIdentifier. Kernel > > emits -65 error code when loading those certificates to platform > > keyring: > > > > [ 1.484388] integrity: Loading X.509 certificate: UEFI:MokListRT > > [ 1.485557] integrity: Problem loading X.509 certificate -65 > > [ 1.486100] Error adding keys to platform keyring UEFI:MokListRT > > > > Because the -65 error code is not enough for appeasing user when > > loading a outdated certificate. This patch add messages against > > 1.3.14.3.2.29 and 2.5.29.1 OIDs. > > > > Link: https://bugzilla.opensuse.org/show_bug.cgi?id=1129471 > > Cc: David Howells > > Cc: Herbert Xu > > Cc: "David S. Miller" > > Signed-off-by: "Lee, Chun-Yi" > > Reviewed-by: Mimi Zohar Thanks for your review! Joey Lee