Re: /home on luks-encrypted usb-stick

Paul <[email protected]> Sun, 6 Jan 2008 11:23:09 +0000
Newsgroups gmane.linux.morphix.devel
Message-ID <[email protected]>
Hi Markus

On Sunday 06 January 2008 08:38, Markus Mandalka wrote:
> While developing i found some little problems or have still some questions:
>
> 1.) luks is working if the kernel supports cryptsetup/luks
> (devicemappers, aes256 and so on...).
>
> This works great with the kernel of basemod-2.6.17-2007-10-24_0014.iso.
>
> But my favorite (more and newer drivers)
> basemod-2.6.23-2008-01-03_0018.iso is not able to do a cryptsetup (tool
> from in the package cryptsetup which contains commandline-tools and
> initskripts for encryption-things) luksFormat or luksOpen.
>
> I don't know if this kernel doesn't contain support for aes256 or
> devicemappers or the modules are not loaded or if the kernel is not
> compatible.

The encryption modules are all available except for cryptd (config option 
CONFIG_CRYPTO_CRYPTD). Also enabled are CONFIG_BLK_DEV_DM and CONFIG_DM_CRYPT 
(both as modules), so I suspect you just need to load the modules to get 
going.

Please note - I built the kernel package(s) using Debian's default 
configurations except for ISO9660_FS, EXT2_FS, EXT3_FS, and REISER_FS 
options - These are compiled in to the kernel (perhaps XFS_FS should be too).

> If you do not know without looking for that what is going on and you
> should need more info, please write and i will do some additional checks.

Sounds like you need to load the dm_crypt and aes modules - If any others are 
missing, let me know and I'll rebuild the kernel.


Regards, Paul.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/