basic key established hook added to CLI send

This commit is contained in:
laharah 2016-06-05 00:11:28 -07:00 committed by Brian Warner
parent 680b01b3fc
commit f786031f40

View File

@ -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: