From: Florian Philipp <lists@binarywings.net>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] UEFI secure boot and Gentoo
Date: Fri, 15 Jun 2012 10:24:54 +0200 [thread overview]
Message-ID: <4FDAF156.7090104@binarywings.net> (raw)
In-Reply-To: <4FDAED21.7010508@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3452 bytes --]
Am 15.06.2012 10:06, schrieb Richard Farina:
> On 06/15/2012 03:49 AM, Florian Philipp wrote:
>> Am 15.06.2012 09:26, schrieb Michał Górny:
>>> On Thu, 14 Jun 2012 21:56:04 -0700
>>> Greg KH <gregkh@gentoo.org> wrote:
>>>
>>>> On Fri, Jun 15, 2012 at 10:15:28AM +0530, Arun Raghavan wrote:
>>>>> On 15 June 2012 09:58, Greg KH <gregkh@gentoo.org> wrote:
>>>>>> So, anyone been thinking about this? I have, and it's not pretty.
>>>>>>
>>>>>> Should I worry about this and how it affects Gentoo, or not worry
>>>>>> about Gentoo right now and just focus on the other issues?
>>>>>
>>>>> I think it at least makes sense to talk about it, and work out what
>>>>> we can and cannot do.
>>>>>
>>>>> I guess we're in an especially bad position since everybody builds
>>>>> their own bootloader. Is there /any/ viable solution that allows
>>>>> people to continue doing this short of distributing a first-stage
>>>>> bootloader blob?
>>>>
>>>> Distributing a first-stage bootloader blob, that is signed by
>>>> Microsoft, or someone, seems to be the only way to easily handle this.
>>>
>>> Maybe we could get one such a blob for all distros/systems?
>>>
>
>> I guess nothing prevents you from re-distributing Fedora's blob.
>
>>> Also, does this signature system have any restrictions on what is
>>> signed and what is not? In other words, will they actually sign a blob
>>> saying 'work-around signatures' on the top?
>>>
>
>> They might sign it. I think it is just an automated process verified
>> with smartcards. The point is, they will also blacklist it as soon as
>> malware starts using it (or as soon as they are aware of the possibility).
>
>> It should also be noted that having a bootloader blob is not enough. You
>> have to do it like Fedora and sign the kernel and modules as well as
>> removing kernel features that could result in security breaches
>> (everything outlined in [1]). I don't see any reasonable way to do this
>> while allowing users to build their own kernel and third-party modules.
>
>> In the end, I think we'll need *-bin packages for everything running in
>> kernel-space.
>
> Being all about choice I have to agree that as long as we have both bin
> and normal kernels there is nothing wrong with that. However, dear god,
> with how many kernels we have won't this get really expensive really
> fast? Even just signing gentoo-sources and hardened-sources would cost
> a fortune considering both change weekly if not daily. So that puts us
> to signing just stable releases and damn users who want secure boot and
> a recent kernel or need a custom patch? This all seems like a huge step
> in the wrong direction to me, at the very least the amount of effort for
> this is near insurmountable in my eyes.
>
> -Zero
>
>
>> [1] http://mjg59.dreamwidth.org/12368.html
>
>> Regards,
>> Florian Philipp
>
No, it won't be expensive. Please read the link in my message on how
Fedora do it:
1. You pay 99$ *once* as a registration fee. After that, you can sign as
much as you want.
2. In order to avoid the hassle of the actual authentication process for
signing code, Fedora simply signs a stage-1 boot loader which then
verifies all further stages against a custom Fedora key. This key also
has to be secure but it means they can use their own, automated tool
chain for signing kernel and grub builds.
Regards,
Florian Philipp
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2012-06-15 8:26 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-15 4:28 [gentoo-dev] UEFI secure boot and Gentoo Greg KH
2012-06-15 4:45 ` Arun Raghavan
2012-06-15 4:56 ` Greg KH
2012-06-15 5:24 ` Arun Raghavan
2012-06-15 21:28 ` Matthew Thode
2012-06-15 5:48 ` Eray Aslan
2012-06-15 7:26 ` Michał Górny
2012-06-15 7:49 ` Florian Philipp
2012-06-15 8:06 ` Richard Farina
2012-06-15 8:24 ` Florian Philipp [this message]
2012-06-15 23:59 ` Greg KH
2012-06-16 8:33 ` Florian Philipp
2012-06-16 0:03 ` gregkh
2012-06-15 5:00 ` [gentoo-dev] " Duncan
2012-06-15 5:03 ` [gentoo-dev] " Ben de Groot
2012-06-15 5:08 ` Matthew Finkel
2012-06-15 5:24 ` Arun Raghavan
2012-06-15 7:12 ` Ben de Groot
2012-06-15 7:58 ` Richard Farina
2012-06-15 8:37 ` Florian Philipp
2012-06-15 11:32 ` Walter Dnes
2012-06-15 12:01 ` Rich Freeman
2012-06-15 12:48 ` Florian Philipp
2012-06-16 9:22 ` Maxim Kammerer
2012-06-17 17:03 ` Greg KH
2012-06-17 19:22 ` Maxim Kammerer
2012-06-15 10:50 ` Ben de Groot
2012-06-16 0:02 ` Greg KH
2012-06-15 4:45 ` Greg KH
2012-06-15 5:48 ` Philip Webb
2012-06-16 0:01 ` Greg KH
2012-06-16 3:18 ` Philip Webb
2012-06-15 21:35 ` Matthew Thode
2012-06-16 0:00 ` Greg KH
2012-06-15 4:50 ` [gentoo-dev] " Duncan
2012-06-15 5:01 ` Matthew Finkel
2012-06-15 7:54 ` Florian Philipp
2012-06-15 12:28 ` Walter Dnes
2012-06-15 12:55 ` Florian Philipp
2012-06-16 23:37 ` Steev Klimaszewski
2012-06-17 16:58 ` Greg KH
2012-06-17 17:24 ` Dale
2012-06-16 17:51 ` Michał Górny
2012-06-17 9:20 ` Florian Philipp
2012-06-17 15:51 ` Michał Górny
2012-06-17 16:55 ` Greg KH
2012-06-17 17:06 ` Michał Górny
2012-06-17 17:17 ` Rich Freeman
2012-06-17 17:28 ` Florian Philipp
2012-06-17 17:56 ` Greg KH
2012-06-17 16:56 ` Matthew Finkel
2012-06-17 17:10 ` Michał Górny
2012-06-17 17:40 ` Florian Philipp
2012-06-17 17:34 ` Sascha Cunz
2012-06-17 17:55 ` Rich Freeman
2012-06-17 18:00 ` Florian Philipp
2012-06-17 18:56 ` Sascha Cunz
2012-06-17 19:20 ` Graham Murray
2012-06-17 20:30 ` Florian Philipp
2012-06-17 23:07 ` Rich Freeman
2012-06-22 6:42 ` George Prowse
2012-06-15 4:57 ` [gentoo-dev] " Chí-Thanh Christopher Nguyễn
2012-06-15 12:18 ` Luca Barbato
2012-06-15 12:33 ` Rich Freeman
2012-06-15 23:56 ` Greg KH
2012-06-16 6:30 ` Michał Górny
2012-06-15 10:14 ` Rich Freeman
2012-06-15 11:26 ` Florian Philipp
2012-06-15 12:22 ` Luca Barbato
2012-06-15 12:45 ` Rich Freeman
2012-06-15 15:46 ` G.Wolfe Woodbury
2012-06-15 23:55 ` Greg KH
2012-06-16 0:41 ` Rich Freeman
2012-06-16 3:49 ` Greg KH
2012-06-16 23:52 ` Matthew Summers
2012-06-17 0:23 ` [gentoo-dev] " Duncan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FDAF156.7090104@binarywings.net \
--to=lists@binarywings.net \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox