Commit Graph

1530 Commits

Author SHA1 Message Date
Sebastian Messmer
868e12183a Fix Usage line when called with --help and fix test cases 2015-10-24 20:02:43 +02:00
Sebastian Messmer
84daca0bc1 ChangeLog written 2015-10-24 19:56:19 +02:00
Sebastian Messmer
61ca163339 If a configuration file is not specified on command line, it will be put into the base directory 2015-10-24 19:56:05 +02:00
Sebastian Messmer
371303ae6a Config file is AES256_GCM encrypted, the config file key is generated with scrypt 2015-10-24 19:35:37 +02:00
Sebastian Messmer
ea30ac641b Data::LoadFromStream() and Data::StoreToStream() 2015-10-24 18:39:11 +02:00
Sebastian Messmer
7988cc406d Added serialization/deserialization of DerivedKeyConfig 2015-10-24 12:25:49 +02:00
Sebastian Messmer
8741853eef Added key derivation function scrypt 2015-10-24 01:57:17 +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
20b0034ab1 - Refactor main()
- Added CryConfigLoaderTest
2015-10-23 12:16:23 +02:00
Sebastian Messmer
74cb9eaf2d Added TempFile::exists() 2015-10-23 12:15:51 +02:00
Sebastian Messmer
39c62ae185 Added test case for CryConfigFile 2015-10-23 00:04:03 +02:00
Sebastian Messmer
c936fca16a Added test cases for CryConfigCreator 2015-10-22 18:48:14 +02:00
Sebastian Messmer
9bf83a6fe7 Adapted to new key creation interface 2015-10-22 18:48:04 +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 Messmer
9b1152348e Added test cases for CryConfig 2015-10-21 17:08:15 +02:00
Sebastian Messmer
d8e0465954 Added test cases for CryCipher 2015-10-19 14:22:01 +02:00
Sebastian Messmer
fdc41ffb83 TODOs 2015-10-19 02:47:22 +02:00
Sebastian Messmer
2104a85e95 Refactor config file handling 2015-10-19 02:46:47 +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
03ad5cbe45 Fix -Weffc++ warnings 2015-10-17 21:33:41 +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
490936d29d Fix test cases 2015-10-17 19:38:24 +02:00
Sebastian Meßmer
7b3dcb8260 Allow --logfile option 2015-10-17 18:31:17 +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
7d1af188fd Update dependencies 2015-10-17 18:00:17 +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
Sebastian Meßmer
afc0f909b3 Use logging instead of cout/cerr 2015-10-17 17:23:35 +02:00
Sebastian Meßmer
05f9723295 Default logger logs to stderr, not stdout 2015-10-17 16:49:58 +02:00
Sebastian Meßmer
08c09e4af8 Add a fork test case for logging 2015-10-17 16:42:56 +02:00
Sebastian Meßmer
82e4aefdd2 Use type system and function overloading instead of enums and switch/case for selecting log levels. This should improve function inlining for the LOG(level) calls. 2015-10-17 16:00:13 +02:00
Sebastian Meßmer
0d6eef7ed2 Add test cases for logging 2015-10-17 15:50:06 +02:00
Sebastian Meßmer
9f9b4fc342 Add test cases for logging 2015-10-17 15:49:54 +02:00
Sebastian Meßmer
62e0a177fb Use cpputils::logging 2015-10-17 03:30:42 +02:00
Sebastian Meßmer
451a84bebc Pass daemon name to daemonize 2015-10-17 03:28:15 +02:00