Sebastian Messmer
6a0623956d
Use Data, DataBlockFixture from cpputils
2015-04-25 02:55:34 +02:00
Sebastian Messmer
59bfddc18f
Moved Data, FixedSizeData and DataBlockFixture to cpp-utils
2015-04-25 02:48:41 +02:00
Sebastian Messmer
38327de0c8
Move tempfile to cpp-utils
2015-04-25 02:40:02 +02:00
Sebastian Messmer
0b2984888d
TODOs
2015-04-25 02:25:55 +02:00
Sebastian Messmer
d8a6b23962
Moved data classes to cpp-utils
2015-04-25 02:24:18 +02:00
Sebastian Messmer
ea22156f33
Upgrade dependencies
2015-04-25 00:42:21 +02:00
Sebastian Messmer
c543cb398d
Upgrade dependencies
2015-04-25 00:42:19 +02:00
Sebastian Messmer
60d1dbc1ab
Upgrade dependencies
2015-04-25 00:42:17 +02:00
Sebastian Messmer
a1ab1ac4be
Upgrade dependencies
2015-04-25 00:42:15 +02:00
Sebastian Messmer
60442a46f0
Upgrade dependencies
2015-04-25 00:42:10 +02:00
Sebastian Messmer
59865030de
Upgrade dependencies
2015-04-25 00:41:34 +02:00
Sebastian Messmer
f3db9ef8b9
Fill new blocks with zeroes
2015-04-25 00:31:05 +02:00
Sebastian Messmer
3d9e98d892
Fix compiler errors in tests
2015-04-25 00:08:29 +02:00
Sebastian Messmer
eeaa6678cd
Switch to authenticated cipher
2015-04-24 23:58:55 +02:00
Sebastian Messmer
e056a65b48
- Added test cases for authenticated ciphers
...
- Fixed corner case for AES256_GCM when decrypt is called on data that can't hold IV and TAG
2015-04-24 23:58:24 +02:00
Sebastian Messmer
0335b243fb
Implemented AES256_GCM
2015-04-24 23:02:14 +02:00
Sebastian Messmer
6e28af3105
TODOs
2015-04-24 21:33:45 +02:00
Sebastian Messmer
19e5f03de3
Simplified CipherTest
2015-04-24 21:33:25 +02:00
Sebastian Messmer
008c6f7ab7
Add Cipher concept
2015-04-24 21:30:54 +02:00
Sebastian Messmer
5adcf4aca1
Allow decryption interface to fail (needed for authenticated ciphers later)
2015-04-24 21:08:36 +02:00
Sebastian Messmer
79283b868b
Added test cases that a Cipher is indeterministic
2015-04-24 19:13:56 +02:00
Sebastian Messmer
f18195757c
- Added test cases for ciphers
...
- Removed Cipher.h
2015-04-24 18:58:42 +02:00
Sebastian Messmer
22323a0a03
Adapt to new EncryptedBlockStore
2015-04-24 18:14:53 +02:00
Sebastian Messmer
6e50c9d8a5
Factor out encryption algorithm from EncryptedBlockStore
2015-04-24 18:14:25 +02:00
Sebastian Messmer
03597b9474
Code formatting & TODOs
2015-04-24 13:42:37 +02:00
Sebastian Meßmer
2726241a1c
Removed debug output
2015-04-23 09:25:04 +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 Meßmer
4a1166cfd2
Created symlinks take ownership from the current user
2015-04-23 09:17:23 +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
446c07deff
Implemented symlinks
2015-04-22 16:00:14 +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
f41939f443
On file/dir creation, the owner is passed in
2015-04-22 14:31:15 +02:00
Sebastian Messmer
27e376c121
TODOs
2015-04-21 23:20:54 +02:00
Sebastian Messmer
8165ca39bc
Simplified readdir
2015-04-21 23:19:50 +02:00
Sebastian Messmer
b96cc48639
Implemented chmod/chown and fixed some minor details
2015-04-21 23:18:50 +02:00
Sebastian Messmer
f8b26d31e3
Added chmod/chown
2015-04-21 21:08:23 +02:00
Sebastian Meßmer
ef7097a299
Fix dependencies for travis
2015-04-18 17:28:01 +02:00
Sebastian Meßmer
342d956739
Fix travis
2015-04-18 17:11:49 +02:00
Sebastian Meßmer
17f6a38629
Removed unneccessary flushes
2015-04-18 17:06:55 +02:00
Sebastian Meßmer
82266b4ced
Fix travis
2015-04-18 17:01:54 +02:00
Sebastian Meßmer
73b060c863
Add dependency to boost thread
2015-04-18 17:01:06 +02:00
Sebastian Meßmer
90c7bad8d6
Removed debug output
2015-04-18 16:59:44 +02:00
Sebastian Meßmer
c1551121c8
Cache-Entries are purged after a max lifetime
2015-04-18 16:50:19 +02:00
Sebastian Meßmer
c18893c151
Don't encrypt and re-decrypt when creating a block, but keep plaintext data
2015-04-18 15:10:42 +02:00
Sebastian Meßmer
f2adbf01df
Adapt to new blockstore
2015-04-18 14:52:38 +02:00
Sebastian Meßmer
417a701636
- BlockStore::create() gets the data of the new block as a parameter
...
- Fixed numBlocks() in OnDiskBlockStore, FakeBlockStore, CachingBlockStore, ...
- CachingBlockStore caches created blocks and doesn't directly create them in the underlying blockstore
2015-04-18 14:47:12 +02:00
Sebastian Messmer
5e753ae706
Use unordered_map instead of map
2015-04-17 17:39:07 +02:00
Sebastian Messmer
18e7d68f15
Added test cases checking that numBlocks() works correctly when a created block is not destructed yet
2015-04-17 13:27:17 +02:00