diff options
author | Kali Kaneko <kali@leap.se> | 2016-09-20 17:07:14 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-09-20 17:07:14 -0400 |
commit | a889a5480b3807d887c3f196963236b2667bb8fa (patch) | |
tree | 47b3dced8e2925ca1e5cede25223e866ef61e80d /src/leap/common/zmq_utils.py | |
parent | f063726b3ad003693010555d57dbc214f6abb01d (diff) | |
parent | 34ee56766446a1072599bd5641ffdf2a89442462 (diff) |
Merge branch 'debian/experimental' into debian/platform-0.9
Diffstat (limited to 'src/leap/common/zmq_utils.py')
-rw-r--r-- | src/leap/common/zmq_utils.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/common/zmq_utils.py b/src/leap/common/zmq_utils.py index 0a781de..39a49c7 100644 --- a/src/leap/common/zmq_utils.py +++ b/src/leap/common/zmq_utils.py @@ -19,6 +19,7 @@ Utilities to handle ZMQ certificates. """ import os import logging +import platform import stat import shutil @@ -52,6 +53,10 @@ def zmq_has_curve(): `zmq.auth` module is new in version 14.1 `zmq.has()` is new in version 14.1, new in version libzmq-4.1. """ + if platform.system() == "Windows": + # TODO: curve is not working on windows #7919 + return False + zmq_version = zmq.zmq_version_info() pyzmq_version = zmq.pyzmq_version_info() |