fd867a9cd6
Specifically, this lets the `wormhole tx` side send the VERSIONS message before input() happens, allowing the `wormhole rx` side to compute and display the Verifier. This only matters when the receiver sends both PAKE and VERSIONS in the same turn, which only happens when tab-completion allowed them to learn the Nameplate early and thus receive the sender's PAKE early. In the other cases, the receiver sends PAKE and VERSIONS on separate turns, so the sender doesn't get into this situation. The bug this fixes is when both sides use --verify, and the receiver uses tab-completion, then the sender shows the Verifier and waits for confirmation, but the receiver doesn't show the Verifier until *after* the sender confirms. So the two users don't have enough information to compare. Many thanks to Jacek Politowski (@jpolnetpl) for the catch and initial investigation. closes #349 |
||
---|---|---|
.. | ||
_dilation | ||
cli | ||
test | ||
__init__.py | ||
__main__.py | ||
_allocator.py | ||
_boss.py | ||
_code.py | ||
_hints.py | ||
_input.py | ||
_interfaces.py | ||
_key.py | ||
_lister.py | ||
_mailbox.py | ||
_nameplate.py | ||
_order.py | ||
_receive.py | ||
_rendezvous.py | ||
_rlcompleter.py | ||
_send.py | ||
_terminator.py | ||
_version.py | ||
_wordlist.py | ||
errors.py | ||
eventual.py | ||
ipaddrs.py | ||
journal.py | ||
observer.py | ||
timing.py | ||
tor_manager.py | ||
transit.py | ||
util.py | ||
wormhole.py | ||
xfer_util.py |