+ std::string keyfile = config.get<std::string>("keyfile", "");
+ std::string key = config.get<std::string>("key", "");
+
+ /* check for some invalid configurations */
+ if (keyfile.size() > 0 && key.size() > 0) {
+ std::cerr << "You can only have either a keyfile or a key set. Please fix your configuration." << std::endl;
+ exit(1);
+ }