Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KQpDS-0002oK-11 for mharc-grub-devel@gnu.org; Wed, 06 Aug 2008 16:02:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQpDQ-0002o1-Jm for grub-devel@gnu.org; Wed, 06 Aug 2008 16:02:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQpDP-0002nb-NH for grub-devel@gnu.org; Wed, 06 Aug 2008 16:02:36 -0400 Received: from [199.232.76.173] (port=38440 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQpDP-0002nS-HU for grub-devel@gnu.org; Wed, 06 Aug 2008 16:02:35 -0400 Received: from aybabtu.com ([69.60.117.155]:42712) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KQpDP-0001Lk-5H for grub-devel@gnu.org; Wed, 06 Aug 2008 16:02:35 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KQp5z-0006hT-76 for grub-devel@gnu.org; Wed, 06 Aug 2008 21:54:55 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1KQpCL-0001sQ-Dh for grub-devel@gnu.org; Wed, 06 Aug 2008 22:01:29 +0200 Date: Wed, 6 Aug 2008 22:01:29 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080806200129.GB30755@thorin> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Encryption Support for GRUB X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2008 20:02:36 -0000 On Wed, Aug 06, 2008 at 11:04:16AM -0500, W. Michael Petullo wrote: > I am interested in seeing support for encrypted partitions added to GRUB. > On the GRUB Wiki, encryption support is listed as a suggested project for > Google's Summer of Code 2008. Did anyone pick up this project? If not, I > would like to take a stab at it. Before I start looking closely at this, I > have two questions: > > 1. How do I know exactly what subset of libc is available to me as a GRUB > developer? Obviously, system calls would not be expected to work because > the operating system has not yet been loaded, but I would expect libmath > routines to be usable by GRUB. What about other libraries? > > 2. Does anyone have any tips on how this could be implemented? I have a > lot of experience working with encrypted root filesystems, but this is my > first shot at an encrypted boot filesystem. I would appreciate comments > from seasoned GRUB developers as I delve into the project's code myself. I think the first you should do is check the list archives. IIRC there was someone else already working on this (not sure if he's still active, though). -- 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."