1714b [Solved] Does a portable hard drive encryption system exist? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Peripheral Hardware

Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old August 30th, 2009, 15:58
fonz's Avatar
fonz fonz is offline
Moderator
 
Join Date: Nov 2008
Location: Apeldoorn, the Netherlands
Posts: 1,457
Thanks: 370
Thanked 235 Times in 208 Posts
Question Does a portable hard drive encryption system exist?

Howdy all,

I have an external USB drive that needs to exchange data between Linux and FreeBSD systems - and if possible Windoze (XP/Vista/7) as well.

Q1: Which filesystem do you recommend I put on it? (or more to the point: am I really stuck with NTFS?)

Q2: Is there an encryption scheme that works with all 3 platforms?

I was initially considering TrueCrypt, until I found out that it's very unstable on FreeBSD and the TC people don't seem to care about that. At all.

Suggestions are welcome,

Alphons
__________________
Ken sent me.

Last edited by fonz; August 31st, 2009 at 15:12. Reason: Solved (or answered satisfactory)
Reply With Quote
  #2  
Old August 30th, 2009, 16:03
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,522
Thanks: 422
Thanked 607 Times in 475 Posts
Default

1) fat (aka msdosfs aka dosfs)
2) No, you can use gnupg to encrypt/decrypt files (just finished how to)
2.b) you can use openssl, but I don't know, what do you need to do to get it run on windows....
Reply With Quote
The Following User Says Thank You to graudeejs For This Useful Post:
fonz (August 30th, 2009)
  #3  
Old August 30th, 2009, 16:29
fonz's Avatar
fonz fonz is offline
Moderator
 
Join Date: Nov 2008
Location: Apeldoorn, the Netherlands
Posts: 1,457
Thanks: 370
Thanked 235 Times in 208 Posts
Thumbs up

Quote:
Originally Posted by killasmurf86 View Post
1) fat (aka msdosfs aka dosfs)
Been thinking about that. But is using FAT wise (or even possible) with a 1 1TB drive?

Quote:
Originally Posted by killasmurf86 View Post
2) No, you can use gnupg to encrypt/decrypt files (just finished how to)
Sounds promising, I'll go check it out. Thanks.

Alphons
__________________
Ken sent me.
Reply With Quote
  #4  
Old August 30th, 2009, 16:32
vivek's Avatar
vivek vivek is offline
Member
 
Join Date: Nov 2008
Location: Hyper Space
Posts: 809
Thanks: 3
Thanked 184 Times in 102 Posts
Default

http://www.gnupg.org/ try it. There is also portable version and it works under Ms-windows.
__________________
Neither in this world nor elsewhere is there any happiness in store for him who always doubts. If you enjoyed my answer please consider donating some money to FreeBSD foundation @ http://www.freebsdfoundation.org/
Reply With Quote
The Following User Says Thank You to vivek For This Useful Post:
fonz (August 30th, 2009)
  #5  
Old August 30th, 2009, 16:37
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,522
Thanks: 422
Thanked 607 Times in 475 Posts
Default

Quote:
Originally Posted by fonz View Post
Been thinking about that. But is using FAT wise (or even possible) with a 1 1TB drive?
I don't think so...
Reply With Quote
  #6  
Old August 30th, 2009, 16:48
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Member
 
Join Date: Nov 2008
Location: Eindhoven, Netherlands
Posts: 794
Thanks: 19
Thanked 123 Times in 93 Posts
Default

FAT32 is the *only* reliable filesystem with read/write access on all three platforms.
A 1TB volume is no problem.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
The Following User Says Thank You to Carpetsmoker For This Useful Post:
fonz (August 30th, 2009)
  #7  
Old August 30th, 2009, 18:03
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

Yup, FAT32 will work for file systems many terabytes in size, but it has one major pitfall - single files can't be larger than 4 GB. It's your only option for true portability though.
Reply With Quote
  #8  
Old August 30th, 2009, 23:20
fonz's Avatar
fonz fonz is offline
Moderator
 
Join Date: Nov 2008
Location: Apeldoorn, the Netherlands
Posts: 1,457
Thanks: 370
Thanked 235 Times in 208 Posts
Talking

Quote:
Originally Posted by aragon View Post
Yup, FAT32 will work for file systems many terabytes in size
So far I've found out that Windoze (Vista Home Premium) won't let me create and format a FAT/FAT32/exFAT partition if the size is in/near the TB range, but I suppose non-M$ tools like your average UN*X fdisk/newfs_msdos will be less picky

Quote:
Originally Posted by aragon View Post
but it has one major pitfall - single files can't be larger than 4 GB.
That's good to know - probably means one needs to watch out in case of DVD images and other such large files. However, from what I've seen so far with an ~8 GB USB stick, both FreeBSD and Linux appear to only give a warning and not actually have a problem with files >=4GB though. Edit: I should probably test that a little more...
__________________
Ken sent me.

Last edited by fonz; August 30th, 2009 at 23:32. Reason: Addendum
Reply With Quote
  #9  
Old August 31st, 2009, 02:20
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Member
 
Join Date: Nov 2008
Location: Eindhoven, Netherlands
Posts: 794
Thanks: 19
Thanked 123 Times in 93 Posts
Default

Quote:
So far I've found out that Windoze (Vista Home Premium) won't let me create and format a FAT/FAT32/exFAT partition if the size is in/near the TB range, but I suppose non-M$ tools like your average UN*X fdisk/newfs_msdos will be less picky
Yes, this is a well-known ``feature'' of Windows because they want people to use NTFS or exFAT.
You can either create a FAT32 FS with FreeBSD etc. or create one in Windows and enlarge it with PartitionMagic etc.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #10  
Old August 31st, 2009, 15:10
fonz's Avatar
fonz fonz is offline
Moderator
 
Join Date: Nov 2008
Location: Apeldoorn, the Netherlands
Posts: 1,457
Thanks: 370
Thanked 235 Times in 208 Posts
Default

Quote:
Originally Posted by Carpetsmoker View Post
Yes, this is a well-known ``feature'' of Windows
You know what they say: a feature is a bug with seniority

Alphons

P.S. Early tests lead me to think that >=4GB files on a FAT32 are truncated, so this limit is definately something to keep in mind.
__________________
Ken sent me.
Reply With Quote
  #11  
Old September 30th, 2009, 09:35
alphazo alphazo is offline
Junior Member
 
Join Date: Sep 2009
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I started using TrueCrypt on Windows then between Linux & MacOS. I barely use Windows anymore so I'm now considering encFS that is available under Linux, MacOS...and FreeBSD!
Very easy to setup and many advantages over TrueCrypt, although they don't answer to the same problem. encFS relies on the underlayer filesystem. It 'only' encrypts the filename and file content. You don't have a big container so you can grow encrypted data as required. That allows you to perform backup of only modified file (good for rsync) and also mount a remote encrypted filesystem (e.g. sshfs). Online service like DropBox can be used to store private data. As as side note there are some information of a 'buggy' Windows version of encFS the link appears to be dead.
Now regarding the filesystem there is no magic one besides FAT. When sharing data between Linux, MacOS and Windows I found NTFS the most reliable solution (but I must admit that I'm not proud of it) because there is NTFS-3G on both Linux and MacOS and even a commercial implementation on MacOS as well. Now I don't know the status of ntfs-3G under FreeBSD.

Alphazo - I promise I won't PGP sign my posts on FreeBSD Forum anymore!
Reply With Quote
  #12  
Old September 30th, 2009, 11:27
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,828
Thanks: 30
Thanked 1,887 Times in 1,332 Posts
Default

sysutils/fusefs-ntfs appears to have a proven track record by now. It figures in several threads on this forum.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Adminstrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #13  
Old December 27th, 2011, 12:50
elfsechsundzwanzig elfsechsundzwanzig is offline
Junior Member
 
Join Date: Dec 2011
Location: Cologne, Germany
Posts: 18
Thanks: 4
Thanked 0 Times in 0 Posts
Default

I know this post is two years old, and I do have the same problem now. So I thought I ask for an update: Is there a possiblity to encrypt an external USB HDD that should be usable on FreeBSD and Windows? I read about FreeOTFE, but there seems to be no port of it.

Does anyone use an encrypted USB HDD? If so, how has he/she encrypted it? Is it possible to use it on a windows-computer as well?

Last edited by DutchDaemon; December 27th, 2011 at 22:34.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
zfs , adding a usb hard drive to a zpool wonslung General 4 December 2nd, 2009 04:03
Cloning linux system to new hard drive kasse Off-Topic 6 August 31st, 2009 14:47
Partitioning an external hard drive WD MyBook Ico Peripheral Hardware 8 June 10th, 2009 15:14
SCSI Hard drive recovering from bad sectors roddierod System Hardware 0 February 10th, 2009 19:08
Seagate Baracuda 7200.8 300GB Hard Drive Fozzy System Hardware 3 December 31st, 2008 04:11


All times are GMT +1. The time now is 11:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0