Commit Graph

176 Commits

Author SHA1 Message Date
Sebastian Messmer
30f7791af7 Make constructors explicit where adequate 2015-04-27 18:20:07 +02:00
Sebastian Messmer
fa4e23ceb4 Fix loading encryption keys from config file 2015-04-27 18:00:11 +02:00
Sebastian Messmer
8f7853f01a Add basic test case for cryfs 2015-04-27 16:38:09 +02:00
Sebastian Messmer
74e9ffb9f4 Use cpputils::TempFile and cpputils::Data instead of blockstore::TempFile and blockstore::Data 2015-04-25 03:37:25 +02:00
Sebastian Messmer
60d1dbc1ab Upgrade dependencies 2015-04-25 00:42:17 +02:00
Sebastian Messmer
eeaa6678cd Switch to authenticated cipher 2015-04-24 23:58:55 +02:00
Sebastian Messmer
22323a0a03 Adapt to new EncryptedBlockStore 2015-04-24 18:14:53 +02:00
Sebastian Meßmer
89a9f1e3d2 Don't crash when trying to chmod/chown the root directory 2015-04-23 09:24:52 +02:00
Sebastian Meßmer
6821684654 Support symlinks 2015-04-23 09:18:30 +02:00
Sebastian Messmer
935549f822 - Adapt to new fspp (symlink support), but don't support symlinks yet 2015-04-22 16:02:23 +02:00
Sebastian Messmer
5c63e1c277 Removed debug output 2015-04-22 14:53:15 +02:00
Sebastian Messmer
12e802fb7b Create files/dirs owned by the caller 2015-04-22 14:32:03 +02:00
Sebastian Messmer
27e376c121 TODOs 2015-04-21 23:20:54 +02:00
Sebastian Messmer
b96cc48639 Implemented chmod/chown and fixed some minor details 2015-04-21 23:18:50 +02:00
Sebastian Messmer
7b40e22279 Adapt to new blockstore 2015-04-16 14:11:07 +02:00
Sebastian Messmer
54e0bbc7d3 Use block caching and increase block size 2015-04-15 20:42:14 +02:00
Sebastian Messmer
821254f9d8 Removed workaround for bug in old biicode version (fixed in biicode 3.0) 2015-04-15 14:34:15 +02:00
Sebastian Messmer
7d4618229b Implement renaming 2015-04-11 01:42:20 +02:00
Sebastian Messmer
0b2bf1d7b3 Work with new fspp 2015-04-10 23:29:16 +02:00
Sebastian Messmer
de8c697dfc Experimented a bit with block size 2015-04-10 23:17:23 +02:00
Sebastian Messmer
9ecbe437ab - Refactor DirBlob: Keep an in-memory vector of the dir entries instead of regularly parsing it
- Implement file deletion and dir deletion
2015-04-10 00:52:00 +02:00
Sebastian Messmer
787d4f5382 Workaround for broken biicode on travis 2015-04-10 00:06:02 +02:00
Sebastian Messmer
c43612fae6 Implement CryOpenFile::flush 2015-04-09 23:42:04 +02:00
Sebastian Messmer
8a582a2396 Fix broken biicode.conf 2015-04-09 22:14:41 +02:00
Sebastian Messmer
853a364c92 Merge branch 'develop' of github.com:smessmer/cryfs into develop 2015-04-09 22:12:55 +02:00
Sebastian Messmer
5596544365 CryFS uses an encrypted blockstore 2015-04-09 21:17:52 +02:00
Sebastian Messmer
51373550ae Added test section to biicode.conf 2015-04-08 18:34:33 +02:00
Sebastian Messmer
b5391a7d64 Adapt to biicode 2.8 2015-04-08 17:44:31 +02:00
Sebastian Messmer
8da0f4abc6 Workaround for broken travis biicode deployment 2015-04-08 17:20:22 +02:00
Sebastian Messmer
419bef7abe Travis CI needs sudo 2015-04-08 17:01:14 +02:00
Sebastian Meßmer
354de197ff Add some asserts 2015-04-08 14:15:11 +02:00
Sebastian Meßmer
f1a992d187 A CryDir returns . and .. as children 2015-03-19 03:53:21 +01:00
Sebastian Meßmer
56928e68a8 Adapt to new fspp interface 2015-03-18 02:46:06 +01:00
Sebastian Meßmer
4d113613d9 Return error if trying to add an already existing entry to a directory 2015-03-18 02:11:10 +01:00
Sebastian Meßmer
c47095474c Use new FsTest 2015-03-16 02:57:01 +01:00
Sebastian Meßmer
662c3f8e90 Use the fspp test cases for cryfs 2015-03-16 02:15:51 +01:00
Sebastian Meßmer
26bdd6ff3a Move source to src directory 2015-03-16 01:42:50 +01:00
Sebastian Messmer
3fa8aa9351 Update dependencies 2015-03-13 18:24:23 +01:00
Sebastian Messmer
f54c901ec8 Change CMakeLists.txt for new biicode version 2015-03-13 17:35:04 +01:00
Sebastian Messmer
19d2e075ec Merge branch 'master' into develop 2015-03-12 16:28:51 +01:00
Sebastian Meßmer
16de91e0b1 Update LICENCE to LGPL 2015-03-12 16:21:53 +01:00
Sebastian Messmer
3551a83d51 Replaced absolute paths to messmer/cryfs with local relative paths 2015-03-12 15:37:26 +01:00
Sebastian Messmer
efb854715a Use new setup_biicode_project for travis 2015-03-12 15:00:32 +01:00
Sebastian Messmer
7a283a525e Fix biicode.conf 2015-03-11 21:56:07 +01:00
Sebastian Messmer
c9b44d0801 Fix file reading 2015-03-11 01:05:37 +01:00
Sebastian Messmer
28056ed43f Fix file size handling 2015-03-11 00:34:25 +01:00
Sebastian Messmer
75b9a29ae4 CryDir/CryFile don't actually open the block, but only keep a reference to the key 2015-03-11 00:23:52 +01:00
Sebastian Messmer
7ec0af147d Dir::children() returns not only the entry name, but also whether it is a file or a directory entry 2015-03-10 21:51:42 +01:00
Sebastian Messmer
43c4f29927 Started implementing reading/writing files 2015-03-08 03:51:19 +01:00
Sebastian Messmer
e4a0084ea3 Fix lstat 2015-03-08 03:25:20 +01:00