[guardian-dev] cryptsetup.static for LUKS now builds
Nathan of Guardian
nathan at guardianproject.info
Wed Feb 2 13:50:01 EST 2011
(for those of you not on #guardianproject irc) It's working, at least on
NexusOne/CM6.1 as root:
> mknod /dev/loop0 b 7 0
> losetup /dev/loop0 /mnt/sdcard/test.img
> cryptsetup luksFormat -c aes-plain /dev/loop0
> ./cryptsetup luksOpen /dev/loop0 crypttest
./cryptsetup status crypttest
/dev/mapper/crypttest is active.
type: LUKS1
cipher: aes-cbc-plain
keysize: 256 bits
device: /dev/loop0
offset: 4096 sectors
size: 2093056 sectors
mode: read/write
> mke2fs -O uninit_bg,resize_inode,extent,dir_index -L DroidCrypt0 -FF
/dev/mapper/crypttest
> mount /dev/mapper/crypttest /data/foo
On 02/02/2011 11:19 AM, Nathan Freitas wrote:
> Fantastic. Will make it on my system today!
>
> On 02/02/2011 10:40 AM, Hans-Christoph Steiner wrote:
>> On Wed, 2011-02-02 at 10:32 -0500, Hans-Christoph Steiner wrote:
>>> Hey all,
>>>
>>> Just finished up the thing I was working on until late last night.
>>> cryptsetup.static now builds for Android. Its in the LUKS git, just:
>>>
>>> cd LUKS/external
>>> make
>>>
>>> And hopefully, you'll end up with a LUKS/external/bin/cryptsetup.static.
>>> Try it out and let me know. This is probably most interesting to
>>> Nathan, since he's started working on a GUI for this.
>>>
>>> .hc
>>
>> oops, that's LUKS/external/sbin/cryptsetup.static. You can actually see
>> a little UNIX hierarchy:
>>
>> LUKS/external/bin/
>> LUKS/external/include
>> LUKS/external/lib
>> LUKS/external/sbin
>> LUKS/external/share
>>
>> .hc
>>
>> _______________________________________________
>> Guardian-dev mailing list
>>
>> Post: Guardian-dev at lists.mayfirst.org
>> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>
>> To Unsubscribe
>> Send email to: Guardian-dev-unsubscribe at lists.mayfirst.org
>> Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/nathan%40guardianproject.info
>>
>> You are subscribed as: nathan at guardianproject.info
>
> _______________________________________________
> Guardian-dev mailing list
>
> Post: Guardian-dev at lists.mayfirst.org
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>
> To Unsubscribe
> Send email to: Guardian-dev-unsubscribe at lists.mayfirst.org
> Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/nathan%40guardianproject.info
>
> You are subscribed as: nathan at guardianproject.info
More information about the Guardian-dev
mailing list