DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: Hannes <h2+lists2013@fsfe.org>
Cc: dm-crypt <dm-crypt@saout.de>
Subject: Re: [dm-crypt] Android dm-crypt implementation and GNU/Linux
Date: Tue, 23 Apr 2013 19:34:03 +0200	[thread overview]
Message-ID: <5176C60B.7020802@gmail.com> (raw)
In-Reply-To: <51728DDC.80306@fsfe.org>

On 20.4.2013 14:45, Hannes wrote:
> Hi everyone,
> 
> I hope this is the right place to ask: I have a dualboot between Ubuntu
> Arm and Android on a mobile device of mine. The data-partition is
> encrypted using Android's builtin encryption and I'd like to share it
> with the Ubuntu.
> I have been searching quite a bit on the net, but I can't find answers
> onto whether this is possible and how. It seems to me that Android's
> dm-crypt implementation is custom (no LUKS...) and implemented in VolD.
> Am I right in assuming there is no way to make cryptsetup unlock the
> partition?

Hi,

I am not sure what is Android exactly doing but it would be interesting
to check.

> And do you know of a standalone implementation that can decrypt the
> partition on a GNU/Linux system? I have come accross bruteforce attack
> program[1] that runs on a regular GNU/Linux, but I think that works
> directly on the footer of the partition and doesn't have any magic
> beyond that.

My plan is to provide better support for low-level metadata parsers
(like LUKS) for not only Linux but also other OS.
This will take some time but I am definitely interested to provide
some code for Android if possible.

Please can you create issue (enhancement request) on project page
so we will not forget about it? Thanks.
http://code.google.com/p/cryptsetup/issues/list

> I thought a standalone implementation should exist somewhere, as it
> seems unlikely the implementation was developed inside Android's VolD.

Not sure about Android but there is already several other implementations
of LUKS. No problem with it but I would prefer upstream cryptsetup can
provide something usable.

Thanks,
Milan

      reply	other threads:[~2013-04-23 17:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-20 12:45 [dm-crypt] Android dm-crypt implementation and GNU/Linux Hannes
2013-04-23 17:34 ` Milan Broz [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=5176C60B.7020802@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=dm-crypt@saout.de \
    --cc=h2+lists2013@fsfe.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox