Re-design of the original CryFS code to work as a library.
938528840b
And refactor cli (group Cli class and program_options in cli subfolder) |
||
---|---|---|
src | ||
test | ||
.gitignore | ||
.travis.yml | ||
biicode.conf | ||
ChangeLog.txt | ||
CMakeLists.txt | ||
LICENSE | ||
README.md |
cryfs
Cryptographic filesystem for the cloud
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
-
# After installing, call $ bii setup:cpp
-
GCC version >= 4.9 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
-
Clone repository
$ git clone git@github.com:cryfs/cryfs.git cryfs $ cd cryfs
-
Build
$ bii init -L $ bii configure -D CMAKE_BUILD_TYPE=Release $ bii build
-
(if build failed) Biicode can have a bug sometimes where the first call to configure fails. If that happens, just call it again.
-
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