LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-21-2005, 01:45 PM   #1
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
HFS+ (encrypted) mount linux


I have a HFS+ drive image encrypted in AES ... how do I mount that in linux? thanks.
 
Old 10-21-2005, 03:12 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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!!
 
Old 10-21-2005, 03:46 PM   #3
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i create HFS, HFS+ and RockRidge CD's? moore757 Linux - Software 2 06-19-2005 10:13 PM
Mount HFS Apple Hard Disk Youssef_C Linux - Software 0 02-21-2005 12:59 AM
mount usb external harddrive, probably HFS format kr!s Linux - Hardware 2 02-02-2005 12:36 AM
How to mount HFS+ (journaled) hardisk? carboncopy Slackware 12 12-01-2004 10:14 AM
setting up 1394 and HFS mount chunlee Linux - Software 2 11-18-2004 07:07 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration