send --verify: tell user to include --verify on receiver too
In the long run, this needs to be included in the second PAKE message, and the MitM consequences thought through.
This commit is contained in:
parent
5e593509b4
commit
5f35fcee61
|
@ -21,7 +21,10 @@ def send_file(args):
|
|||
code = args.code
|
||||
else:
|
||||
code = i.get_code(args.code_length)
|
||||
print("On the other computer, please run: wormhole receive-file")
|
||||
other_cmd = "wormhole receive-file"
|
||||
if args.verify:
|
||||
other_cmd = "wormhole --verify receive-file"
|
||||
print("On the other computer, please run: %s" % other_cmd)
|
||||
print("Wormhole code is '%s'" % code)
|
||||
print()
|
||||
|
||||
|
|
|
@ -15,7 +15,10 @@ def send_text(args):
|
|||
code = args.code
|
||||
else:
|
||||
code = i.get_code(args.code_length)
|
||||
print("On the other computer, please run: wormhole receive-text")
|
||||
other_cmd = "wormhole receive-text"
|
||||
if args.verify:
|
||||
other_cmd = "wormhole --verify receive-text"
|
||||
print("On the other computer, please run: %s" % other_cmd)
|
||||
print("Wormhole code is: %s" % code)
|
||||
print("")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user