How To Replace FileVault With EncFS
agoston.horvath writes "I've written a HOWTO on replacing Mac OS X's built-in encryption (FileVault) with the well-known FUSE-based EncFS. It worked well for me, and most importantly: it is a lot handier than what Apple has put together. This is especially useful if you are using a backup solution like Time Machine. Includes Whys, Why Nots, and step-by-step instructions."
What are some flaws in FileVault that might make me prefer EncFS? I've only been thinking of activating FileVault lately and my only other experience has been with ELI in FBSD.
FTFA:
[citation needed]
I'm tempted to say RTFA but in the interest of saving you and no doubt others a bit of time:
"The biggest mistake Apple did with FileVault is storing the encrypted home directory on a virtual file system. All of FileVault's drawbacks originate from this. The implementation is brilliant, free of bugs, fast and well thought over. But why they decided to have all the trouble with a filesystem in a filesystem remains a mystery."
Essentially, instead of mounting /Users/your_username via FIleVault, Apple decided to add a sparse bundle file to your home directory with all of the contents. The worst impact of this design flaw is it adds a lot of time overhead at log out. If apple instead created a different partition for each user's home directory then there are no real flaws with FileVault.
I can see why Apple did it they way they did - dynamically resizing partitions as the user adds data to their home directory sounds... scary.
If you actually read the article while he makes good points to do what he says you have to install macports, and then use the command line.
There is no easy way to setup his system. Sure it has more options but the average user of any OS isn't able to understand all of them. File vault and windows bit locker for all their faults and variations are easy to use encryption. and until all encryption/decryption systems are built into the OS and are easy to implenment then encryption will only be used a handful of people.
I still want a cross platform easy to use encryption setup that only requires my key to work. not for me to have to bring my own software that I may or may not be allowed to run to decrypt the drive.
i thought once I was found, but it was only a dream.
Why is this a headline story on slashdot. It's a nice little achievement but hardly news. Anyway aren't Apple products suppose to "just work"? How dare this poster find a need for or better fit with something not specifically sanctioned by The Holy Jobs and his minions! ;-)
These posts express my own personal views, not those of my employer
Just turn it on and forget about it.
NSA has VileFault (spoonerism, not typo) for brute force dictionary attacks on weak passwords. I don't think NSA would take that route if Apple gave them a back door.
FTFA:
That is an absolute deal breaker. Mac OS X (and increasingly third party software) makes extensive use of that metadata in extended attributes. Until it can preserve that same metadata, this solution is a no-go for, oh, 99% of the population. And that last 1% is going to be on thin ice, hoping nothing breaks. Sorry for it sounding a bit like FUD, but this does entail a fair amount of uncertainty and doubt, and that brings some fear into it.
It's a great idea, as FileVault is very limited in its approach, but this is far from a "replacement" for it.
I don't know what kind of crack I was on, but I suspect it was decaf.
I don't think we'll see a universal filesystem encryption scheme until we at least see a universally supported filesystem.
+Get your space back
Create a second account, use it to shrink primary account (useful regardless, for many other troubleshooting reasons.)
+Get rid of the long waiting times at logout
And how often do you log out of your Mac? The only time I do that is when I reboot, and according to uptime, I haven't rebooted in more than a week. That was only because of security updates.
+Be safer by using open-source
1)When is the last time you validated the checksum of a package or source? 2)When is the last time you reviewed (end to end) the code for an open-source program? 3)When is the last time you looked at ANY source, instead of just reading README and then typing "./configure"? 4)How many people out there are qualified to review source code enough to detect the myriad of security vulnerabilities possible, intentional or otherwise?
The open-source security mantra has been trotted out for a decade and it still rings as hollow as can be. It's about as intelligent as handing blueprints to every car owner and wondering why people are still buying cars that break. 99.99999% of your users a)can't be bothered b)aren't qualified.
Please help metamoderate.
[citation needed]
The six year archive of schneier's blog?
http://www.schneier.com/
It often seems that the closed source crypto marketplace in a binary state, either publicly known as snake oil, or not yet publicly known as snake oil. After being burned a zillion times, it seems its all snake oil.
PGP Inc.'s stuff is "a proprietary tool from a big and famous manufacturer". Has the source to their 'enterprise' products been released and inspected? Should we not trust PGP? (BTW, Schneier is on their "Technical Advisory Board".)
What about the encryption used in RIM's products to transfer e-mails to BlackBerrys? The SSL use in IE? S/MIME in Outlook? RSA's SecurID tokens? STU-III/STE phones?
Take off your tin foil hat and think rationally.
I recently replaced FileVault on my MacBook Pro with PGP Whole Disk Encryption, and the results have been nothing but headache. Now when I close the lid, the laptop doesn't go into hibernate mode, and the laptop doesn't recognize my iPod when I plugged it in.
Weak encryption? What was that guy smoking? AES is state-of-the-art, it's security is widely considered sufficient: http://en.wikipedia.org/wiki/Advanced_Encryption_Standard#Security. While there exist attacks on AES 256 which make it a bit less secure, it's still almost as secure as AES 128 which is used in FileVault by default.
I wish this project was still alive and well, but it's not been updated since April 2008. :-(
http://code.google.com/p/encfsvault/downloads/list
Basically it automates the process of setting up your home dir to use EncFS. If someone could update it and add some features such as painless uninstall. It's pretty easy to disable if you're comfortable with the command line but I wouldn't feel right recommending it.
Stating on Slashdot that I like cheese since 1997.
On the other side...
So what is your priority? avoid file corruption or avoid the NSA?
Don't forget that the header of encfs causes it not to be 4k block aligned, which kills performance on 4k-sector drives, which should be arriving very soon (filesystems have used 4k or larger sector sizes for a long time, however).
The gist of the tip is to create an encrypted container, move your important stuff into that container and then create symlinks from/to the original locations. Be sure to mount/unencrypt the container at boot.
Why ENCFS? Why not a very strong encrypted disk image? Why not Truecrypt? The author doesn't say.
Wow, I was not expecting such a huge amount of comments.
I've updated the article based on this. Most importantly, removed the proprietary part - indeed, that has nothing to do with the howto. This intended to be a howto, not a troll text. I just wanted to add some background to it, for better understanding.