lkml.org 
[lkml]   [2015]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Should we automatically generate a module signing key at all?
    From
    Date
    On Tue, 2015-05-19 at 11:55 -0400, Theodore Ts'o wrote:
    > On Tue, May 19, 2015 at 04:30:17PM +0100, David Howells wrote:
    > > We do have to allow people to load external modules. Yes, you could argue
    > > that you should just disable all your security systems if you want to do
    > > that...
    >
    > Is module signing really meant for distro kernels, or would anyone
    > besides people creating distro kernels care about this? I thought I
    > saw some messages (including from Linus) that the "common case" is the
    > average kernel developer who creates a throw-away key, uses it to sign
    > all of the modules in the kernel build, and then throws it away.
    >
    > I wouldn't know, because I don't use module signing at all, and I
    > don't really see the point. I build my own kernels for my own use,
    > which means either modules for my own developer convenience, or if I'm
    > building it for a server where I really care about security, I'll
    > build in exactly the drivers I need and disable modules entirely. So
    > I'm clearly not the intended use case, either as a distro kernel
    > release engineer, or as a "build a kernel with modules and then throw
    > away the key use case".
    >
    > So I'm really curious --- are there significant numbers of people
    > doing kernel builds, besides distro kernel engineers, who would use
    > module signing? If so, them sure, let's spend time optimizing so that
    > it's really easy for those folks. If not, maybe it's simpler just
    > make things easy for people who will be storing the key in some
    > external hardware device, and just be done with it.

    I assume you're signing your kernel images. Remember the Yubikey NEOs,
    given out last year at the kernel summit, they can be used to sign the
    kernel images and with David Woodhouse's patches sign the kernel modules
    as well.

    The next step (as mentioned in this thread), would be for software to
    come signed. The associated public key could be signed by the Yubikey
    NEO and loaded onto the trusted IMA keyring.

    Mimi



    \
     
     \ /
      Last update: 2015-05-19 20:21    [W:2.532 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site