aboutsummaryrefslogtreecommitdiff
path: root/zenserver/config.h
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2022-02-03 13:32:27 +0100
committerPer Larsson <[email protected]>2022-02-03 13:32:27 +0100
commit1bf13f3c7ac64d44e13de0dcaf51036640232c8f (patch)
treea66a643a6d81cb707eec56f87dda4e0fd893cce2 /zenserver/config.h
parentEncrypt serialized auth state. (diff)
downloadzen-1bf13f3c7ac64d44e13de0dcaf51036640232c8f.tar.xz
zen-1bf13f3c7ac64d44e13de0dcaf51036640232c8f.zip
Added AES encryption key/IV cli options.
Diffstat (limited to 'zenserver/config.h')
-rw-r--r--zenserver/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zenserver/config.h b/zenserver/config.h
index cad130193..69e65498c 100644
--- a/zenserver/config.h
+++ b/zenserver/config.h
@@ -94,6 +94,8 @@ struct ZenServerOptions
std::string ChildId; // Id assigned by parent process (used for lifetime management)
std::string LogId; // Id for tagging log output
std::string HttpServerClass; // Choice of HTTP server implementation
+ std::string EncryptionKey; // 256 bit AES encryption key
+ std::string EncryptionIV; // 128 bit AES initialization vector
int BasePort = 1337; // Service listen port (used for both UDP and TCP)
int OwnerPid = 0; // Parent process id (zero for standalone)
bool InstallService = false; // Flag used to initiate service install (temporary)