summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/launcher.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2017-09-29 08:29:57 -0700
committerKali Kaneko <kali@leap.se>2017-09-29 17:46:24 +0200
commitd45338761e3e6774809fd827060928876aa6696c (patch)
treef936a930673ed6c4a6c30869ce00341c8b6dfcdb /src/leap/bitmask/vpn/launcher.py
parent0f3ee7cfa34546ec5636e1d13a9884e7dce8997a (diff)
[bug] fixes needed to launch vpn on mac after refactor
Diffstat (limited to 'src/leap/bitmask/vpn/launcher.py')
-rw-r--r--src/leap/bitmask/vpn/launcher.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/launcher.py b/src/leap/bitmask/vpn/launcher.py
index 6dd01596..e14be165 100644
--- a/src/leap/bitmask/vpn/launcher.py
+++ b/src/leap/bitmask/vpn/launcher.py
@@ -186,5 +186,10 @@ class VPNLauncher(object):
'--key', vpnconfig.get_client_cert_path(providerconfig)
]
+ # TODO -- get platform specific launcher args
+ if IS_MAC:
+ args += [
+ '--script-security', '2']
+
command_and_args = [openvpn_path] + args
return command_and_args