Hello,

I was trying to install the HMAC patch, without success. 

I tried the following:
linux 2.6.24-rc5, hmac-patch 2.6.24-rc5-2, ecryptfs-utils 40, 46, 58 and 61.
In ecryptfs-utils 58 and 61, I patched the ECRYPTFS_VERSION_HMAC to 0x40.
In the kernels crypt_stat structure, I had to add the field 
num_header_bytes_at_front.

Mounting from command line with and without enabling HMAC works, but writing a 
file produces a encrypted file with garbage content on unmounting. A remount 
and reading the file results in -EIO.

I guess, there's a version mismatch between the patch, the kernel and the 
userspace utilities. Did anyone succeed using the HMAC patch? Which version 
combination works?


  Michael

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
eCryptfs-users mailing list
eCryptfs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecryptfs-users

Reply via email to