James Muir
2013-09-15 04:05:20 UTC
hello list,
I'm interested in porting some of the ecryptfs userland tools to android
- -- specifically, I want to get the mount and umount utilities working.
I've hacked around a bit and see that there is a dependency with Mozilla
NSS (e.g. in the functions ecryptfs_wrap_passphrase and
ecryptfs_unwrap_passphrase). Apparently, NSS can be built for Android,
but before I go further down the hole, I wondered if someone more
familiar with the user tools might have some perspective to share. My
impression is that getting the tools working on Android shouldn't
be too difficult, but I wonder if I am being too optimistic... if I
sort out NSS, will it be smooth sailing?
Note the ./configure script suggests that it is possible to build
against gcrypt rather than NSS ("--disable-nss Build against
gcrypt rather than NSS"), but I suspect that configuration hasn't
actually been implemented yet. Has anyone built the user tools using
gcrypt?
More generally, has anyone worked on porting these utilities
previously? I've googled and found mention that ecryptfs is used on
the Droid X but the source code was not published:
http://android.stackexchange.com/questions/20105/motorola-droidx-ecryptfs-related-sources
Also, the following blueprint suggests that an android port has been on
the Linaro backlog for some time:
https://blueprints.launchpad.net/linaro-android/+spec/linaro-android-integrate-ecryptfs
thanks for your help,
- -James
I'm interested in porting some of the ecryptfs userland tools to android
- -- specifically, I want to get the mount and umount utilities working.
I've hacked around a bit and see that there is a dependency with Mozilla
NSS (e.g. in the functions ecryptfs_wrap_passphrase and
ecryptfs_unwrap_passphrase). Apparently, NSS can be built for Android,
but before I go further down the hole, I wondered if someone more
familiar with the user tools might have some perspective to share. My
impression is that getting the tools working on Android shouldn't
be too difficult, but I wonder if I am being too optimistic... if I
sort out NSS, will it be smooth sailing?
Note the ./configure script suggests that it is possible to build
against gcrypt rather than NSS ("--disable-nss Build against
gcrypt rather than NSS"), but I suspect that configuration hasn't
actually been implemented yet. Has anyone built the user tools using
gcrypt?
More generally, has anyone worked on porting these utilities
previously? I've googled and found mention that ecryptfs is used on
the Droid X but the source code was not published:
http://android.stackexchange.com/questions/20105/motorola-droidx-ecryptfs-related-sources
Also, the following blueprint suggests that an android port has been on
the Linaro backlog for some time:
https://blueprints.launchpad.net/linaro-android/+spec/linaro-android-integrate-ecryptfs
thanks for your help,
- -James