Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756444Ab2HPBeY (ORCPT ); Wed, 15 Aug 2012 21:34:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44899 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752728Ab2HPBeW (ORCPT ); Wed, 15 Aug 2012 21:34:22 -0400 From: David Howells Subject: [PATCH 00/25] Crypto keys and module signing To: rusty@rustcorp.com.au Cc: dhowells@redhat.com, dmitry.kasatkin@intel.com, zohar@linux.vnet.ibm.com, jmorris@namei.org, keyrings@linux-nfs.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 16 Aug 2012 02:34:05 +0100 Message-ID: <20120816013405.872.42381.stgit@warthog.procyon.org.uk> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 10850 Lines: 251 Hi Rusty, I've posted new versions of my module signing patches to my GIT trees. The patches with (approximately) your preferred way of attaching the signature can be found here and I've followed this message with them: http://git.kernel.org/?p=linux/kernel/git/dhowells/linux-modsign.git;a=shortlog;h=refs/heads/modsign-rusty And using an ELF note can be found here: http://git.kernel.org/?p=linux/kernel/git/dhowells/linux-modsign.git;a=shortlog;h=refs/heads/modsign A slightly older version of the latter patches are being used in Fedora 18 and Rawhide kernels. I'm still doing some development on them to get X.509 and PKCS#7 working with module signing for UEFI purposes. If you look here, you can find most of an X.509 key parser: http://git.kernel.org/?p=linux/kernel/git/dhowells/linux-modsign.git;a=shortlog;h=refs/heads/devel-x509 I'm also working on a PKCS#7 signature parser and have a chunk of it working, though it's not ready for release yet. At the moment, I can add X.509 certificates as public keys like so: keyctl padd crypto "" @s