[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about GRUB/GELI support

From: Kris Moore
Subject: Question about GRUB/GELI support
Date: Fri, 26 Sep 2014 13:11:36 -0400
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0

Hey, quick question about GRUB's support for GELI. We are using it to
boot Free/PC-BSD with GELI v5, and it works great there. However FreeBSD
updated their geli implementation very slightly to v7, which only
changes which part of the master key is used for encrypt / decrypt.

I think the line in GRUB that needs tweaking is on or around 440 of
grub-core/disk/geli.c, where it calls grub_crypto_pbkdf2 (dev->hash.....
I'm having trouble figuring out which part of that would be the
equivalent of Freebsd's mkey -> ekey change, or if that data is even
exposed in GRUB's version. Any tips or pointers?

I'm also doing some other patches to GRUB so we can pass the GELI key as
a variable to the kernel, skipping the prompting at mount-root. That
seems to work well, but I wanted to see if I could knock out both fixes
at the same time. Once its done, I'll be happy to forward the patch for
upstream inclusion.


Kris Moore
PC-BSD Software

reply via email to

[Prev in Thread] Current Thread [Next in Thread]