Re-design of the original CryFS code to work as a library.
Go to file
2015-11-28 09:47:04 +01:00
src Make classes final if they're not meant to be derived from 2015-11-27 14:06:17 +01:00
test Make CallAfterTimeoutTest less flaky 2015-11-27 22:27:20 +01:00
.gitignore Test building distribution packages on travis 2015-10-28 01:12:52 +01:00
.travis.yml Improve travis build 2015-11-27 18:37:34 +01:00
biicode.conf Update biicode block ref 2015-11-25 16:47:25 +01:00
ChangeLog.txt ChangeLog and TODOs 2015-11-25 15:46:44 +01:00
CMakeLists.txt Add recommends-dependency of debian packages to fuse. The fuse package is needed to install fusermount. On Ubuntu, it is installed automatically with libfuse2, but not on debian. 2015-11-28 09:47:04 +01:00
LICENSE Update LICENCE to LGPL 2015-03-12 16:21:53 +01:00
README.md Add new gcc compatibility to README 2015-11-24 15:13:02 +01:00

cryfs Build Status

Cryptographic filesystem for the cloud

See http://www.cryfs.org

This repository contains the filesystem implementation. There are submodules in the following repositores:

  • Blockstore: Store (encrypted) fixed-size blocks of data in different backends
  • Blobstore: Store resizeable blobs of data using blocks from a blockstore
  • ParallelAccessStore: Concurrency primitive for Blockstore/Blobstore
  • Fs++: Implement a file system against a platform independent interface

Building from source

Requirements

  • biicode

    # After installing, call
    $ bii setup:cpp
    
  • GCC version >= 4.8 or Clang (TODO which minimal version?)

  • libFUSE (including development headers) (TODO which minimal version?)

    # Ubuntu
    $ sudo apt-get install libfuse-dev
    
    # Fedora
    TODO
    
    # Macintosh
    TODO
    

Build

  1. Clone repository

    $ git clone git@github.com:cryfs/cryfs.git cryfs
    $ cd cryfs
    
  2. Build

    $ bii init -L
    $ bii configure -D CMAKE_BUILD_TYPE=Release
    $ bii build
    
  3. (if build failed) Biicode can have a bug sometimes where the first call to configure fails. If that happens, just call it again.

  4. Install

    $ cd bii/build/messmer_cryfs
    $ sudo make install
    

You can pass normal make parameters after a double dash. This can for example be used to add "-j5" to compile with 5 build threads in parallel:

    $ bii build -- -j5