summaryrefslogtreecommitdiff
path: root/kvmd/apps/vnc/server.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-02-12 05:21:06 +0300
committerDevaev Maxim <[email protected]>2021-02-12 05:23:07 +0300
commit4760a0bddaa0361dd699cca33df5c727885fae02 (patch)
tree48b2fd01db3dd413fe6b9ebd7eb9292f9475d3b8 /kvmd/apps/vnc/server.py
parenta71f5269ae6a7fdab90f035937812ef2d5f43b1f (diff)
refactoring of x509
Diffstat (limited to 'kvmd/apps/vnc/server.py')
-rw-r--r--kvmd/apps/vnc/server.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/kvmd/apps/vnc/server.py b/kvmd/apps/vnc/server.py
index b2e6846c..e0bc5b57 100644
--- a/kvmd/apps/vnc/server.py
+++ b/kvmd/apps/vnc/server.py
@@ -79,6 +79,8 @@ class _Client(RfbClient): # pylint: disable=too-many-instance-attributes
writer: asyncio.StreamWriter,
tls_ciphers: str,
tls_timeout: float,
+ x509_cert_path: str,
+ x509_key_path: str,
desired_fps: int,
keymap_name: str,
@@ -99,6 +101,8 @@ class _Client(RfbClient): # pylint: disable=too-many-instance-attributes
writer=writer,
tls_ciphers=tls_ciphers,
tls_timeout=tls_timeout,
+ x509_cert_path=x509_cert_path,
+ x509_key_path=x509_key_path,
vnc_passwds=list(vnc_credentials),
none_auth_only=none_auth_only,
**dataclasses.asdict(shared_params),
@@ -406,6 +410,8 @@ class VncServer: # pylint: disable=too-many-instance-attributes
tls_ciphers: str,
tls_timeout: float,
+ x509_cert_path: str,
+ x509_key_path: str,
desired_fps: int,
keymap_path: str,
@@ -456,6 +462,8 @@ class VncServer: # pylint: disable=too-many-instance-attributes
writer=writer,
tls_ciphers=tls_ciphers,
tls_timeout=tls_timeout,
+ x509_cert_path=x509_cert_path,
+ x509_key_path=x509_key_path,
desired_fps=desired_fps,
keymap_name=keymap_name,
symmap=symmap,