Add option to pass the password in an encrypted file, kasmvncpasswd utility

This commit is contained in:
Lauri Kasanen
2020-10-01 14:37:51 +03:00
parent ae07707e66
commit 279c41fc32
11 changed files with 226 additions and 3 deletions

View File

@@ -191,6 +191,11 @@ rfb::BoolParameter rfb::Server::printVideoArea
"Print the detected video area % value.",
false);
rfb::StringParameter rfb::Server::kasmPasswordFile
("KasmPasswordFile",
"Password file for BasicAuth, created with the kasmvncpasswd utility.",
"~/.kasmpasswd");
static void bandwidthPreset() {
rfb::Server::dynamicQualityMin.setParam(2);
rfb::Server::dynamicQualityMax.setParam(9);

View File

@@ -56,6 +56,7 @@ namespace rfb {
static IntParameter videoOutTime;
static IntParameter videoArea;
static IntParameter videoScaling;
static StringParameter kasmPasswordFile;
static BoolParameter printVideoArea;
static BoolParameter protocol3_3;
static BoolParameter alwaysShared;