Commit Graph

970 Commits

Author SHA1 Message Date
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
Sebastian Messmer
f88221a0c6 Add Data::LoadFromStream(stream, size) 2015-10-25 11:32:40 +01:00
Sebastian Messmer
ea30ac641b Data::LoadFromStream() and Data::StoreToStream() 2015-10-24 18:39:11 +02:00
Sebastian Messmer
60b7f853d9 DataFixture::generateFixedSize() 2015-10-24 01:53:11 +02:00
Sebastian Messmer
6e4ecd6e19 Allow calling RandomGenerator::get() on child classes (failed due to overridden overload) 2015-10-23 20:21:17 +02:00
Sebastian Messmer
233f1a2ecb TODOs 2015-10-23 12:17:09 +02:00
Sebastian Messmer
74cb9eaf2d Added TempFile::exists() 2015-10-23 12:15:51 +02:00
Sebastian Messmer
caaf528031 Refactor key creation 2015-10-22 18:19:59 +02:00
Sebastian Messmer
62549eeae6 Adapt to new cpputils::Random interface 2015-10-22 17:41:43 +02:00
Sebastian Messmer
ca5edb48db Refactor random library 2015-10-22 17:36:03 +02:00
Sebastian Meßmer
d629e14533 Add include tests 2015-10-18 01:09:49 +02:00
Sebastian Meßmer
43d526eca0 Fix -Weffc++ warnings 2015-10-17 21:34:15 +02:00
Sebastian Meßmer
a3f557ef63 Fix warnings from -Weffc++ 2015-10-17 21:17:38 +02:00
Sebastian Meßmer
a4ce9f1c97 Fix warnings from -Weffc++ 2015-10-17 21:10:26 +02:00
Sebastian Meßmer
5a7ed220aa Fix -Weffc++ warning 2015-10-17 20:55:55 +02:00
Sebastian Meßmer
0c8b3e69a8 Disabled failing test 2015-10-17 20:37:57 +02:00
Sebastian Meßmer
97fce00391 Fixed warnings from -Weffc++ 2015-10-17 20:35:17 +02:00
Sebastian Meßmer
8b429bac9a Fix warnings from -Weffc++ 2015-10-17 20:15:20 +02:00
Sebastian Meßmer
829a768e82 daemonize() is not responsible for loggers 2015-10-17 18:30:07 +02:00
Sebastian Meßmer
4c8e953ebe Update dependencies 2015-10-17 18:00:41 +02:00
Sebastian Meßmer
dd8bf7b01c Update dependencies 2015-10-17 18:00:28 +02:00
Sebastian Meßmer
870e5a8e26 Update dependencies 2015-10-17 18:00:05 +02:00
Sebastian Meßmer
457d5e032b Update dependencies 2015-10-17 17:59:35 +02:00
Sebastian Meßmer
88a9653137 Update dependencies 2015-10-17 17:59:25 +02:00
Sebastian Meßmer
593188d296 Update biicode block ref 2015-10-17 17:58:11 +02:00
Sebastian Meßmer
e9470ffb78 Logging instead of stderr 2015-10-17 17:50:30 +02:00