summaryrefslogtreecommitdiff
path: root/subplot
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-02-06 09:54:26 +0200
committerLars Wirzenius <liw@liw.fi>2021-02-06 10:40:07 +0200
commit520fc35ce0269df2963a5b53112f614257b08bc6 (patch)
tree794b7405db1fcd33d5f708b7de697e3bcf403944 /subplot
parentb426e6e89e077fce0b74c79c13751cf4db5af75e (diff)
downloadobnam2-520fc35ce0269df2963a5b53112f614257b08bc6.tar.gz
feat: client verifies server's TLS certificate by default
Configuration setting can disable it.
Diffstat (limited to 'subplot')
-rw-r--r--subplot/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/subplot/client.py b/subplot/client.py
index d450b4c..0e724b8 100644
--- a/subplot/client.py
+++ b/subplot/client.py
@@ -20,6 +20,7 @@ def configure_client(ctx, filename=None):
config = yaml.safe_load(config)
config["server_url"] = ctx["server_url"]
+ logging.debug(f"client config {filename}: {config}")
with open(filename, "w") as f:
yaml.safe_dump(config, stream=f)