Re: RFC: sign the modules at install time
[Posted November 20, 2012 by jake]
| From: |
| Greg KH <gregkh-AT-linuxfoundation.org> |
| To: |
| David Howells <dhowells-AT-redhat.com> |
| Subject: |
| Re: RFC: sign the modules at install time |
| Date: |
| Wed, 17 Oct 2012 17:54:32 -0700 |
| Message-ID: |
| <20121018005432.GA20163@kroah.com> |
| Cc: |
| Linus Torvalds <torvalds-AT-linux-foundation.org>,
David Miller <davem-AT-davemloft.net>,
Rusty Russell <rusty-AT-rustcorp.com.au>,
Linux Kernel Mailing List <linux-kernel-AT-vger.kernel.org>,
jwboyer-AT-redhat.com, pjones-AT-redhat.com |
| Archive-link: |
| Article, Thread
|
On Wed, Oct 17, 2012 at 03:44:28PM -0700, Linus Torvalds wrote:
> On Wed, Oct 17, 2012 at 3:19 PM, David Howells <dhowells@redhat.com> wrote:
> >
> > It's probably even better to just get rid of all the automatic module signing
> > stuff completely and leave the sign-file script for the builder to use
> > manually. The module verification code will still be present.
>
> That's just disgusting crazy talk.
>
> Christ, David, get a grip on yourself. You seem to dismiss the "people
> want to build their own kernel" people entirely.
>
> One of the main sane use-cases for module signing is:
>
> - CONFIG_CHECK_SIGNATURE=y
> - randomly generated one-time key
> - "make modules_install; make install"
> - "make clean" to get rid of the keys.
> - reboot.
I want that too, but right now 'make clean' leaves the keys around,
which seems a bit dangerous to me.
David, why aren't the keys cleaned up as well? Was that on purpose or
just an oversight?
thanks,
greg k-h
(
Log in to post comments)