From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Design: first sector of core.img
Date: Sat, 21 Feb 2009 15:09:44 +0100 [thread overview]
Message-ID: <20090221140944.GO16068@thorin> (raw)
In-Reply-To: <499F2AC9.5050000@gmail.com>
On Fri, Feb 20, 2009 at 11:12:25PM +0100, phcoder wrote:
> Hello. For SHA-1 verified boot first sector needs to check the rest of
> core.img. It will need heavy modifications. On the same time I would
> like to avoid changes to current boot process so that both alternatives
> are available (SHA-1 and plain boot). In the same time even in current
> design the first sector plays a special role. So I propose first sector
> to be moved to a separate file and then at install time grub-mkimage or
> grub-setup can take care of choosing right one depending on options
> supplied by user (plain or SHA-1 boot)
Have you looked at how the boot process works when using coreboot/GRUB ?
By getting rid of the legacy stuff, things get much more flexible.
Check the grub.cfg example in:
http://grub.enbug.org/CoreBoot
to see what I mean. Most pieces are there already. When we merge crypto
support, it'll be possible for GRUB-in-chip to verify GRUB-in-disk.
Then the chip becomes your root of trust, which is what you're pursuing, if I
understood correctly. But if I was serious about security, I wouldn't make
a BIOS blob my root of trust, GRUB is a much better option ;-)
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
prev parent reply other threads:[~2009-02-21 14:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-20 22:12 Design: first sector of core.img phcoder
2009-02-21 14:09 ` Robert Millan [this message]
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=20090221140944.GO16068@thorin \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.