On 10/10/2012 11:43 PM, Geoffrey Thomas wrote: > On Wed, 10 Oct 2012, Milan Broz wrote: > >> Is there anything from libcryptsetup you want to use or it is just about >> kernel code? >> >> If you want to use code from cryptsetup (cryptsetup/lib/verity/*), what exactly >> you need and which licence is ok for you (GPL2+ or LGPL?) >> (GPL3 will be incompatible with other cryptsetup code.) > > Hm. I _thought_ I could adapt lib/verity/verity_hash.c for what I need, > but it appears to only support a whole-disk verification, not verification > of individual blocks. Well, yes, because cryptsetup does not need that. Also it uses crypto backend wrappers, so I am afraid you cannot just take this library without a lot of changes.... > That said, if you're willing to take patches to > extend libverity's API, I can add the functionality I need. I believe that > GPLv2+ should work fine for GRUB. I see no major problem with relicensing (but need to check properly). If it helps to use it more broadly, it would be nice (with available source code for everyone). If you have any patches, just send them (to list or create new issue on project page). What is not clear here (not related to problems above) is where you want to store root hash and how grub2 will securely obtain it... Thanks, Milan _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt