All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Muir <muir.james.a@gmail.com>
To: Dustin Kirkland <kirkland@ubuntu.com>,
	Tyler C Hicks <tyhicks@canonical.com>
Cc: ecryptfs@vger.kernel.org
Subject: Re: porting to android
Date: Tue, 08 Oct 2013 11:12:39 -0400	[thread overview]
Message-ID: <525420E7.5060001@gmail.com> (raw)
In-Reply-To: <CANT6BaOV27qqy_aqnLq+aktfr77WyxDo7YrvDwYD0ehm1j40uA@mail.gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/03/2013 11:44 AM, Dustin Kirkland wrote:
> On Fri, Sep 20, 2013 at 12:43 PM, James Muir
> <muir.james.a@gmail.com> wrote: Success!  I've managed to get the
> user-land tools working (albeit with limited functionality) and can
> now mount/umount ecryptfs volumes on android.
> 
> In hindsight, I can see a much shorter path than the one I took
> (of course :-) ).  I think you can do without the mount.ecryptfs
> utility for basic applications.
> 
>> Hi James,
> 
>> Sorry for the delayed response.  I'm one of the two maintainers
>> of eCryptfs.  Tyler Hicks tends to the kernel side of eCryptfs,
>> and I maintain the userspace ecryptfs-utils.
> 
>> I'm delighted to hear that you have ecryptfs-utils working on
>> Android! There was some work a little while back, and it seemed
>> to work on Linaro builds, but this is the first work I'm aware
>> of, getting eCryptfs mounting/unmounting on Android.
> 
>> Do you have a comprehensive set of instructions, or perhaps a
>> blog post, on this?  Are there changes required upstream in
>> ecryptfs-utils to accommodate the build or functionality?  I
>> would be quite keen to getting those merged upstream, if we can
>> test and verify the functionality...

Hi Tyler,

thanks for your note.  It is nice to know that user-space devs read
this list, too :-)

I haven't written any instructions on getting ecryptfs-utils working
in Android yet, but this is something I would like to do.  Importing
keyutils into aosp is a snap, but not so much for ecryptfs-utils.

Unfortunately, the changes I made aren't very merge-friendly, but I
can reformat them inside appropriate if-def blocks (i.e. #ifdef
ANDROID... #endif).  I could then send you a patch (or point you to a
git repo) based on the 103 release.

sound ok?

- -James M
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlJUINwACgkQ4Arkm0Hw/FJ8QgCfXiWIefB4zHEfM4esS+nwbIUf
/ewAn2NhwEQdhyshdoEyQzbDEWd95nvq
=ZT+y
-----END PGP SIGNATURE-----

      reply	other threads:[~2013-10-08 15:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-15  4:05 porting to android James Muir
     [not found] ` <CAFftDdq-DQSzGDqKSDGCpvenGp_KtCgR0hzfX1uqSGnfmKAiqg@mail.gmail.com>
2013-09-16 18:24   ` James Muir
     [not found]     ` <CAFftDdrmF6gvk_Vh8AReUrXVRLCs25SdFBZyqUhHv-tid5KDSg@mail.gmail.com>
2013-09-18 21:36       ` James Muir
2013-09-20 17:43         ` James Muir
2013-10-03 15:44           ` Dustin Kirkland
2013-10-08 15:12             ` James Muir [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=525420E7.5060001@gmail.com \
    --to=muir.james.a@gmail.com \
    --cc=ecryptfs@vger.kernel.org \
    --cc=kirkland@ubuntu.com \
    --cc=tyhicks@canonical.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.