From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756705Ab3BUSZS (ORCPT ); Thu, 21 Feb 2013 13:25:18 -0500 Received: from cavan.codon.org.uk ([93.93.128.6]:43168 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754238Ab3BUSZQ (ORCPT ); Thu, 21 Feb 2013 13:25:16 -0500 Date: Thu, 21 Feb 2013 18:25:11 +0000 From: Matthew Garrett To: David Howells Cc: Linus Torvalds , Josh Boyer , Peter Jones , Vivek Goyal , Kees Cook , keyrings@linux-nfs.org, Linux Kernel Mailing List Subject: Re: [GIT PULL] Load keys from signed PE binaries Message-ID: <20130221182511.GA22156@srcf.ucam.org> References: <30665.1361461678@warthog.procyon.org.uk> <20130221164244.GA19625@srcf.ucam.org> <567.1361470653@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <567.1361470653@warthog.procyon.org.uk> User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I don't think that's a problem. Just put the original binary hash in the certificate before signing it, and extend the X.509 parser to refuse certificates that have a tag that's present in dbx. -- Matthew Garrett | mjg59@srcf.ucam.org