Reading an encfs volume from Windows?

19

5

I've been looking into encfs as a solution to encrypt my personal data. However I want to access this data both on Linux and Windows on different machines (synced through Dropbox). So far all Google searches have brought up pages which specify that there is no Windows client that reads encfs.

Can it be done?

snth

Posted 2010-08-22T21:14:57.933

Reputation: 422

Using EncFS for encrypting your Dropbox is not secure due to some vulnerabilities found in the current version. See https://www.cryfs.org/comparison#encfs for details.

– Heinzi – 2016-02-13T18:05:53.813

2

See also the more general question Is it possible to use FUSE with windows?.

– Gilles 'SO- stop being evil' – 2010-08-23T21:28:11.330

Answers

4

Since encfs is built on top of fuse, the obvious way would be to port it to a fuse driver for Windows. Apparently the two most likely possibilities are Dokan and Eldos Callback Filesystem, though neither currently advertises encfs support.

In the meantime, an alternative would be to run a tiny Linux file server inside a virtual machine or with Colinux.

An encrypted filesystem that is supported by both Windows and Linux is Truecrypt. Synchronization via Dropbox is likely to be a lot more expensive than with encfs, but it might still be doable if your files are small enough.

Gilles 'SO- stop being evil'

Posted 2010-08-22T21:14:57.933

Reputation: 58 319

True Crypt doesn't use authenticated encryption, so it's particularly unsuitable for a use case like Dropbox where an attacker can tamper with the cipher text. Encfs has a better design for this use case (file encryption instead of sector encryption), and it uses an authenticated encryption mode (AEAD). See http://sockpuppet.org/blog/2014/04/30/you-dont-want-xts/ for more details.

– Mark E. Haase – 2014-10-15T14:04:53.130

Bear in mind that when using Truecrypt with synchronization systems like Dropbox, you have to unmount the Truecrypt drive before synchronizing or your container can get corrupted. – tylerl – 2012-05-07T21:44:41.193

I have for several years a large 8GB TrueCrypt container in my dropbox and never had any problems with it. The first sync takes a long time. But since Dropbox synchronizes only the changes to the file and not the entire file only the part that has changed will be synced from then on. While the container is mounted Dropbox wont sync him. Once the container is ejected he will be synchronized. – fnkr – 2013-11-17T10:00:33.020

22

Try encfs4win. Its free and I have been using it for some time now

arnon

Posted 2010-08-22T21:14:57.933

Reputation: 221

1

The original EncFS4win project is not updated since early 2013. I provide EncFS4win Reloaded binaries that provide additional features and bugfixes (eg. ability to open read-only files). Works on Win10.

– KrisWebDev – 2015-11-14T00:41:06.587

5

There's also Safe. It's fully compatible with EncFS and works on Windows and Mac OS X.

Rian Hunter

Posted 2010-08-22T21:14:57.933

Reputation: 51

I have trouble getting that to work under Windows 8 though – Antony – 2014-06-22T02:15:55.283

@Antony Works on Windows 8.1. You might have to delete the registry key Safe/RebootPending if it keeps prompting you to reboot, however. Also, there seems to be a couple other issues. – mpen – 2015-02-18T08:01:13.607

1I couldn't get Safe to work under either MacOSX (10.10) or Windows (8.1 x64). Under MacOSX it creates the container and mounts it, but no files are actually written int he contain. It seems the container is never actually mounted (files are just copied in /Volume/SafeMount-mysafe). Under Windows, it creates but then fails to mount and asks me to report the problem (which fails too online saying "Submission failed :( Reload to try again.") ... doesn't look very mature, will wait. – Normadize – 2015-02-23T22:28:14.623

Safe works brilliantly for me on OS X 10.10.3. – Adam Lindberg – 2015-06-11T13:17:58.303

Latest version 1.4 is working for me under Windows 10 – meepzh – 2016-09-25T08:06:30.333

4

I recently released a new project called EncFSMP, a multiplatform EncFS implementation. It works on Windows and Mac OS X. It is open source, however it contains a closed-source component for the file system access. Since it is based on the same source code as the Linux implementation, it is 100% compatible.

Roman Hiestand

Posted 2010-08-22T21:14:57.933

Reputation: 41

1

SourceForge is pretty sketchy these days, you might want to consider using GitHub (or even Bitbucket). I might give this a whirl if Safe doesn't pan out.

– mpen – 2015-02-18T08:10:55.273

Thanks Roman. This feels more stable than Safe does. I have both of them installed now. – MattBianco – 2015-03-23T15:35:37.393

Can EncFSMP be used to open encrypted volumes? I haven't figured out how to open an external hard disk that I've encrypted using EncFS on Linux on either Mac or Windows. I've just asked this question: https://apple.stackexchange.com/questions/371550/open-external-usb-hard-disk-on-mac-that-was-encrypted-with-encfs. Maybe you can answer it?

– Konstantin – 2019-10-03T09:49:56.233

2

Weidenrinde

Posted 2010-08-22T21:14:57.933

Reputation: 151

2

You might take a look at http://boxcryptor.com/ which uses Dokan to implement a encfs compatible file system and integrates with Dropbox. It's still in early beta, but really worth a look.

nurkka

Posted 2010-08-22T21:14:57.933

Reputation: 21

Nowadays the free version is crippled. (Both "Classic" and Boxcryptor2) It doesn't support filename encryption, so I don't see how it could be encfs compatible. – MattBianco – 2015-03-23T14:21:05.380

1

I just installed encfs4win on a Win7 box - and it works. Truecrypt worked for a while, then wouldn't open the file from one machine - while still opening it from another. Flaky. I like that encfs is open source and more likely to be around in 5-10 years (imo).

corvus

Posted 2010-08-22T21:14:57.933

Reputation: 41