[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130411211316.GA26587@redhat.com>
Date: Thu, 11 Apr 2013 17:13:16 -0400
From: Vivek Goyal <vgoyal@...hat.com>
To: Dmitry Kasatkin <dmitry.kasatkin@...il.com>
Cc: Mimi Zohar <zohar@...ux.vnet.ibm.com>,
Josh Boyer <jwboyer@...il.com>,
Matthew Garrett <mjg59@...f.ucam.org>,
linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC 2/2] initramfs with digital signature protection
On Thu, Apr 11, 2013 at 09:42:54PM +0300, Dmitry Kasatkin wrote:
[..]
> > What other initialization user space need to do where we can't trust
> > root (even in secureboot mode).
> >
> > IOW, if keys can be embedded in kernel (or read from UEFI db and MOK db),
> > what other operation requires initramfs to be signed. It could very well
> > be unsigned initramfs like today.
> >
>
> It looks like you do not hear me.
> I said that any user space initialization can be done from signed user space.
> For example IMA policy can be initialized.
>
I am hearing you. Yes I heard you saying "but perform other initialization,
which requires user-space". I am just trying to figure out more details.
You are assuming that a single line statement gives all the context and it
often might not be the case.
What makes it important that IMA policy is loaded from an signed initramfs
and not from unsigned one.
Also how would you make use of it without secureboot. Only secureboot will
allow to keep keys in firmware so that one can have a key in there and be
able to sign initramfs.
In regular system, distributions do not ship pre-loaded keys so one can
not sign initramfs. So only thing possible is that distributions enforce
some policy in signed initramfs and if distributions have to enforce a
policy they can do that in kernel itself and no need for signed initramfs.
Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists