Re: [GIT PULL] Load keys from signed PE binaries

From: Vivek Goyal
Date: Thu Feb 21 2013 - 15:39:03 EST


On Thu, Feb 21, 2013 at 08:32:54PM +0000, Matthew Garrett wrote:
> On Thu, Feb 21, 2013 at 03:31:19PM -0500, Vivek Goyal wrote:
> > On Thu, Feb 21, 2013 at 10:56:44AM -0800, Linus Torvalds wrote:
> >
> > [..]
> > > So no. The PE file thing makes no sense what-so-ever. What you mention
> > > we can already do, and we already do it *better*.
> >
> > IIUC, PE/COFF signature verification bits can be useful for verifying
> > the signature of PE/COFF signed bzImage. This verification will be
> > required before kexec decides to load the kernel.
>
> Only if the kexec validation's being done in kernel. We'd need agreement
> on that before it's a justification.

Even if /sbin/kexec does bzImage validation I think it will require
kernel's help. (This is assuming that only /sbin/kexec is signed and we
can't trust user space crypto libraries).

Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/