Commit Graph

713 Commits

Author SHA1 Message Date
Sebastian Messmer
a4a746e6d1 Updated biicode block version 2015-11-12 15:44:53 -08:00
Sebastian Messmer
9d68b04a85 Update dependencies 2015-11-12 15:44:08 -08:00
Sebastian Messmer
47925e0378 Updated biicode block version 2015-11-12 15:42:38 -08:00
Sebastian Messmer
3ebc2f5dd4 Update dependencies 2015-11-12 15:41:34 -08:00
Sebastian Messmer
9271f2c7e2 Update biicode block version 2015-11-12 15:41:22 -08:00
Sebastian Messmer
bcb89dc4e1 Use new cpp-utils dependency 2015-11-12 15:40:13 -08:00
Sebastian Messmer
1da82c3aff Update biicode block ref 2015-11-12 15:39:11 -08:00
Sebastian Messmer
1e52e78251 Fix compiler error in test cases 2015-11-12 15:31:11 -08:00
Sebastian Messmer
ead8b5b97f Allow stopping the filesystem 2015-11-12 15:03:22 -08:00
Sebastian Messmer
06b78f1b80 Adapt to new cpputils 2015-11-12 13:07:59 -08:00
Sebastian Messmer
9cea5d9090 Allow terminating LoopThreads from within 2015-11-12 13:07:20 -08:00
Sebastian Messmer
b92a87ab72 Make sure, ciphers link without errors 2015-11-11 14:03:16 -08:00
Sebastian Messmer
71c808b229 RandomPadding throws exception instead of ASSERT when data is too large 2015-11-11 11:00:24 -08:00
Sebastian Messmer
9c86b619a6 Allow std::string ASSERT messages 2015-11-10 19:40:34 -08:00
Sebastian Messmer
e15796f738 TODOs 2015-11-10 19:11:04 -08:00
Sebastian Messmer
4059c6a9c9 DerivedKeyConfig is comparable 2015-11-10 19:10:19 -08:00
Sebastian Messmer
4cf886c91f Make DerivedKeyConfig copyable and assignable 2015-11-10 17:49:33 -08:00
Sebastian Messmer
c1734dd93e Release lock before joining thread, so other threads don't have to wait 2015-11-07 12:21:54 -08:00
Sebastian Messmer
47bd752a97 Make ThreadSystem onfork handlers threadsafe 2015-11-07 00:11:12 -08:00
Sebastian Messmer
236ea8d243 Added new LoopThread implementation 2015-11-07 00:00:25 -08:00
Sebastian Messmer
5575509594 New way to configure SCrypt algorithm 2015-11-03 20:13:23 -08:00
Sebastian Messmer
7f6dffdbd9 Add Subprocess::callAndGetReturnCode() 2015-11-03 13:11:09 -08:00
Sebastian Messmer
8b585c39fe Renamed daemon folder to process and added Subprocess class to it 2015-11-03 12:20:15 -08:00
Sebastian Messmer
5efc5c5537 Allow libfuse daemonization again 2015-10-30 21:40:11 +01:00
Sebastian Messmer
440387e522 Add logging messages when filesystem starts/stops 2015-10-30 20:18:31 +01:00
Sebastian Messmer
4ced78b07b TempDir/TempFile don't fail if they can't delete themselves 2015-10-30 18:27:40 +01:00
Sebastian Messmer
6836a1bd40 Better exceptions 2015-10-30 18:10:48 +01:00
Sebastian Messmer
ea9d912a16 Better exception in OnDiskBlockStore when rootdir is not a directory 2015-10-30 18:10:24 +01:00
Sebastian Messmer
cc99cb0ea5 Allow TempDir::remove() 2015-10-29 15:51:16 +01:00
Sebastian Messmer
62fcd1a3fd TODOs 2015-10-29 15:51:05 +01:00
Sebastian Messmer
7402af10c4 OnDiskBlockStore throws an exception earlier (i.e. already in the constructor) if it can't access the base directory 2015-10-29 15:49:59 +01:00
Sebastian Messmer
1bd64c2f7f Added comment explaining why we use boost/thread 2015-10-28 15:30:59 +01:00
Sebastian Messmer
c4dfd55c39 Because LoopThread now works fine with fork(), we don't have to specify this a DeathTest 2015-10-28 15:20:55 +01:00
Sebastian Messmer
4f66543cac LoopThread also works fine with fork() if the thread holds locks 2015-10-28 15:18:28 +01:00
Sebastian Messmer
52366fb707 Use cpputils threads that also work fine when fork()-ed 2015-10-28 15:00:49 +01:00
Sebastian Messmer
a0d4548d4c Fixed fork() issue with threads 2015-10-28 15:00:24 +01:00
Sebastian Messmer
3e01c56ad4 Add Cipher::NAME to CipherConcept 2015-10-28 01:49:12 +01:00
Sebastian Messmer
926d1ce7a4 Allow Cipher::NAME (e.g. AES256_GCM::NAME) 2015-10-28 01:41:38 +01:00
Sebastian Messmer
22a3c90d54 Moved ciphers to cpputils 2015-10-27 23:27:40 +01:00
Sebastian Messmer
c50371d583 Add symmetric ciphers to crypto lib 2015-10-27 23:19:20 +01:00
Sebastian Messmer
1f86f83ca1 Fix test cases 2015-10-27 23:19:11 +01:00
Sebastian Messmer
7b269a1184 Added a crypto library with scrypt key derivation function and random padding 2015-10-27 22:19:06 +01:00
Sebastian Messmer
64397978e0 Add Serializer::writeTailData() and Deserializer::readTailData() 2015-10-27 21:10:36 +01:00
Sebastian Messmer
eac8d44b41 Serializing strings works with nullbytes instead of size+data 2015-10-27 20:59:23 +01:00
Sebastian Messmer
9e67e52dc8 Use size_t instead of unsigned int in FixedSizeData 2015-10-27 20:59:08 +01:00
Sebastian Messmer
248f0b0d61 FixedSizeData::take/drop() 2015-10-26 12:15:11 +01:00
Sebastian Messmer
25db4064b7 Use EXPECT_EXIT instead of EXPECT_DEATH 2015-10-25 18:42:49 +01:00
Sebastian Messmer
44d8b82ed0 Deserializer doesn't require call to finished() anymore 2015-10-25 16:59:01 +01:00
Sebastian Messmer
a33df2e292 Added (De)Serializer::write/readString 2015-10-25 13:02:28 +01:00
Sebastian Messmer
7abbb33654 Added Serializer and Deserializer classes for Data 2015-10-25 12:33:12 +01:00