be6927a28f
The logs emitted when VeNCrypt is enabled are rather unhelpful and have some broken formatting: Got version string 'b'RFB 003.008'' from compute node Got version string 'b'RFB 003.008'' from tenant The server sent security types [19] Using security type 19 with server, None with client Server sent VeNCrypt version 0.2 Server supports VeNCrypt sub-types (260,) Attempting to use the x509None (AuthVeNCryptSubtype.X509NONE) auth sub-type Server accepted the requested sub-auth type There are a couple of issues here: - We're not decoding bytestrings resulting in 'b' prefixes - We're emitting the integer code for type information but not the names - We're calling 'str' on an enum value which returns the name of the enum rather than the value Resolve all of these, resulting in a far more pleasant log: Got version string 'RFB 003.008' from compute node Got version string 'RFB 003.008' from tenant Server sent security types: 19 (VENCRYPT) Using security type 19 (VENCRYPT) with server, 1 (NONE) with client Server sent VeNCrypt version 0.2 Server supports VeNCrypt subtypes: 260 (X509NONE) Attempting to use the 260 (X509NONE) VeNCrypt auth subtype Server accepted the requested VeNCrypt auth subtype Change-Id: I3e19e4765afdcb427dea1cd4beada2871239928a Signed-off-by: Stephen Finucane <stephenfin@redhat.com> |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
rfb.py |