Skip to content

Commit

Permalink
#4524 honour ssl options in launcher files
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 6, 2025
1 parent 15be4ee commit abe55f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xpra/client/gtk3/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
configure_network, configure_env, configure_logging,
)
from xpra.common import noop
from xpra.scripts.parsing import is_local, get_ssh_args, parse_ssh_option, get_ssh_proxy_args
from xpra.scripts.parsing import is_local, get_ssh_args, parse_ssh_option, get_ssh_proxy_args, get_ssl_options
from xpra.exit_codes import RETRY_EXIT_CODES, ExitCode, ExitValue, exit_str
from xpra.platform.info import get_username
from xpra.log import Logger, enable_debug_for
Expand Down Expand Up @@ -806,6 +806,8 @@ def connect_builtin(self) -> None:
params["display_name"] = f"{self.config.mode}://{self.config.host}:{self.config.port}"
if self.config.mode in (MODE_WS, MODE_WSS):
params["path"] = self.config.path
# always populate ssl so we can auto-upgrade:
params["ssl-options"] = get_ssl_options(params, self.config, [])
if self.config.mode in (MODE_SSL, MODE_WSS, MODE_QUIC) and self.nostrict_host_check.get_active():
params["strict-host-check"] = False

Expand Down

0 comments on commit abe55f7

Please # to comment.