grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* Deterministic grub-mkimage
@ 2014-12-28 11:24 Andrew Clausen
  2014-12-29  6:29 ` Jonathan McCune
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Clausen @ 2014-12-28 11:24 UTC (permalink / raw)
  To: The development of GRUB 2

Hi all,

Deterministic software builds are helpful for spotting and preventing
malicious modifications such as inserting back-doors.

At the moment, grub builds are mostly deterministic.  However,
grub-mkimage does not deterministically build EFI binaries.  This is
because the PE/COFF headers include timestamps.  This is a widespread
problem in the Windows world -- see for example a discussion of
deterministically building TrueCrypt. [1]

One solution would be to:
 * build deterministically by default by using a constant timestamp, and
 * add a --with-timestamps option (disabled by default), which would
enable honest timestamps.

What do you think?  Are you accepting patches?

Cheers,
Andrew

[1] https://madiba.encs.concordia.ca/~x_decarn/truecrypt-binaries-analysis/


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-03-28 18:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-28 11:24 Deterministic grub-mkimage Andrew Clausen
2014-12-29  6:29 ` Jonathan McCune
2014-12-29 11:08   ` Andrew Clausen
2014-12-29 19:01     ` Jonathan McCune
2015-01-22 20:08     ` Vladimir 'φ-coder/phcoder' Serbinenko
2015-03-22 19:33       ` [PATCH] use stock embedded timestamp 2015-01-01T0000+0000 Daniel Kahn Gillmor
2015-03-27 12:27         ` Vladimir 'φ-coder/phcoder' Serbinenko
2015-03-28 16:04           ` Daniel Kahn Gillmor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).