From f786031f40aa129e8ba1540f9b7deb2c9244ce04 Mon Sep 17 00:00:00 2001 From: laharah Date: Sun, 5 Jun 2016 00:11:28 -0700 Subject: [PATCH] basic key established hook added to CLI send --- src/wormhole/cli/cmd_send.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wormhole/cli/cmd_send.py b/src/wormhole/cli/cmd_send.py index 6fa7446..aaa27cc 100644 --- a/src/wormhole/cli/cmd_send.py +++ b/src/wormhole/cli/cmd_send.py @@ -85,6 +85,9 @@ class Sender: print(u"Wormhole code is: %s" % code, file=args.stdout) print(u"", file=args.stdout) + key_established = yield w.establish_key() + print(u"Key established, waiting for confirmation...") + # TODO: don't stall on w.verify() unless they want it verifier_bytes = yield w.verify() # this may raise WrongPasswordError if args.verify: