Skip to content

Windows

Ben RUBSON edited this page Apr 19, 2018 · 26 revisions

Cygwin

Installation

EncFS can be compiled and used on Cygwin.

Here are the required steps.

  1. Install Cygwin with the following packages :
  • cmake
  • make
  • gcc-g++
  • gettext-devel
  • openssl-devel
  • procps-ng
  • perl-test-harness
  1. Install WinFsp, latest stable is preferred.

  2. Using Cygwin terminal, install WinFsp FUSE into Cygwin :

cd /cygdrive/c/Program*/WinFsp/opt/cygfuse

sh install.sh

  1. In /usr/include/fuse/winfsp_fuse.h :

Modify : return cygwin_create_path(

To : return (char *)cygwin_create_path(

(see https://github.com/billziss-gh/winfsp/pull/154)

  1. Get last EncFS version (at least 1.9.5).

  2. Using Cygwin terminal, build as usual.

Usage

Use as usual.

If you care about symlinks, you may consider :

For performance matters, you may consider :

For performance and ACLs matters, you may also consider :

Regarding IVs, which are based on inode numbers : depending on configuration, they may lead to some problems, as file IDs (used to compute inode numbers) may not be consistent on Windows (see 1 and 2). If not sure, they can be disabled during EncFS configuration.

Clone this wiki locally