diff options
author | Tomas Touceda <chiiph@leap.se> | 2013-04-12 14:07:15 -0300 |
---|---|---|
committer | Tomas Touceda <chiiph@leap.se> | 2013-04-12 14:07:15 -0300 |
commit | 1fbf6db1276c5bca41c4cfbcc90818d9605c1938 (patch) | |
tree | ccf6dc5720654163a36155a2c6142e48dbef9811 /src/leap/app.py | |
parent | 4e4268af42e6d0bbf38e6027ca36d1b9f1bdda68 (diff) |
Add --danger option to not validate the first hop of certificates
This is intended to be used while testing, not in production
Diffstat (limited to 'src/leap/app.py')
-rw-r--r-- | src/leap/app.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/app.py b/src/leap/app.py index c4a3156e..bb8add0d 100644 --- a/src/leap/app.py +++ b/src/leap/app.py @@ -57,6 +57,7 @@ def main(): _, opts = leap_argparse.init_leapc_args() debug = opts.debug standalone = opts.standalone + bypass_checks = opts.danger # TODO: get severity from command line args if debug: @@ -118,7 +119,7 @@ def main(): timer.start(500) timer.timeout.connect(lambda: None) - window = MainWindow(standalone) + window = MainWindow(standalone, bypass_checks) window.show() sigint_window = partial(sigint_handler, window, logger=logger) |