LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   HFS+ (encrypted) mount linux (http://www.linuxquestions.org/questions/linux-general-1/hfs-encrypted-mount-linux-375497/)

mimithebrain 10-21-2005 01:45 PM

HFS+ (encrypted) mount linux
 
I have a HFS+ drive image encrypted in AES ... how do I mount that in linux? thanks.

win32sux 10-21-2005 03:12 PM

what have you tried so far??

i'm not sure, but i think that if you have HFS support in your kernel, or if you have the appropriate module loaded, then it might simply be a matter of doing something kinda like:
Code:

mount -t hfs -o ro,encryption=aes-256 /home/mimithebrain/drive.img /mnt/aes-hfs-image/
i would imagine it would then prompt you for the password and stuff...

either way, like i said, i'm not really sure... my suggestion includes the "ro" (read-only) option cuz i don't want you to mess anything up!! :)

mimithebrain 10-21-2005 03:46 PM

I tried:

I modprobe hfs and aes.

mount -t hfs -o loop,encryption=aes128 image.dmg /mnt/drive

It asked me for the pass, which I provided, and complained it was less then 20 characters. I ajusted make.conf temporarly and recompile util-linux to accept password as low as 5 characters. unfortunatly, it complained that either the password, the key lenght, or cypher was incorrect. When I "cat /proc/crypto", I realised AES only has between 16 and 32 key lenght support...

So much for that, I think I'll just burn a disk with the files on it, and transfer them like that instead of sending them encrypted over the net.

I'm using gentoo

thanks.


All times are GMT -5. The time now is 02:02 AM.