trim trailing whitespace
This commit is contained in:
parent
a874a6400d
commit
65237a8ecf
1
NEWS.md
1
NEWS.md
|
@ -1,4 +1,3 @@
|
|||
|
||||
User-visible changes in "magic-wormhole":
|
||||
|
||||
## Release 0.12.0 (04-Apr-2020)
|
||||
|
|
|
@ -699,4 +699,3 @@ w.send_message(msg) | |
|
|||
. | d=w.get_message() | dg.wormhole_got_message(msg)
|
||||
w.close() | | dg.wormhole_closed(result)
|
||||
. | d=w.close() |
|
||||
|
||||
|
|
|
@ -62,5 +62,3 @@ message body will be the hex-encoded output of a NaCl `SecretBox`, keyed by a
|
|||
phase+side -specific key (computed with HKDF-SHA256, using the shared PAKE
|
||||
key as the secret input, and `wormhole:phase:%s%s % (SHA256(side),
|
||||
SHA256(phase))` as the CTXinfo), with a random nonce.
|
||||
|
||||
|
||||
|
|
|
@ -180,6 +180,3 @@ texinfo_documents = [
|
|||
author, 'Magic-Wormhole', 'One line description of project.',
|
||||
'Miscellaneous'),
|
||||
]
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -53,4 +53,3 @@ describes this application's use of the client messages.
|
|||
Application use the `wormhole` library to establish wormhole connections and
|
||||
exchange data through them. Please see `api.md` for a complete description of
|
||||
this interface.
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
default: images
|
||||
|
||||
images: allocator.png boss.png code.png input.png key.png lister.png machines.png mailbox.png nameplate.png order.png receive.png send.png terminator.png dilation.png
|
||||
images: allocator.png boss.png code.png input.png key.png lister.png machines.png mailbox.png nameplate.png order.png receive.png send.png terminator.png dilation.png
|
||||
|
||||
.PHONY: default images
|
||||
|
||||
|
|
|
@ -25,5 +25,5 @@ digraph {
|
|||
P_allocated -> S2 [color="orange"]
|
||||
|
||||
S2 [label="S2:\ndone" color="orange"]
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -76,5 +76,4 @@ digraph {
|
|||
label="rx_welcome -> process (maybe rx_unwelcome)\nsend -> S.send\ngot_message -> got_version or got_phase\ngot_key -> W.got_key\ngot_verifier -> W.got_verifier\nallocate_code -> C.allocate_code\ninput_code -> C.input_code\nset_code -> C.set_code"
|
||||
]
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -94,5 +94,5 @@ digraph {
|
|||
S0B -> P3B_done [label="close" color="red"]
|
||||
S1A -> P3A_done [label="close" color="red"]
|
||||
S2A -> S3A [label="close" color="red"]
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ digraph {
|
|||
S1B -> S2B [style="invis"]
|
||||
{rank=same; S1A S1B}
|
||||
S1A -> S1B [style="invis"]
|
||||
|
||||
|
||||
{rank=same; S2A P2_connected S2B}
|
||||
S2A [label="S2A:\nmaybe claimed"]
|
||||
S2A -> P2_connected [label="connected"]
|
||||
|
@ -96,6 +96,5 @@ digraph {
|
|||
S2B -> P3_release [label="close" color="red"]
|
||||
S3B -> P3_release [label="close" color="red"]
|
||||
S4B -> S4B [label="close" color="red"]
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ digraph {
|
|||
P1_other [shape="box" label="R.got_message"]
|
||||
P1_other -> S1
|
||||
|
||||
|
||||
|
||||
/* the Mailbox will deliver each message exactly once, but doesn't
|
||||
guarantee ordering: if Alice starts the process, then disconnects,
|
||||
then Bob starts (reading PAKE, sending both his PAKE and his VERSION
|
||||
|
|
|
@ -3,7 +3,7 @@ digraph {
|
|||
|
||||
{rank=same; S0 P0_queue}
|
||||
{rank=same; S1 P1_send}
|
||||
|
||||
|
||||
S0 [label="S0: unknown\nkey"]
|
||||
S0 -> P0_queue [label="send" style="dotted"]
|
||||
P0_queue [shape="box" label="queue" style="dotted"]
|
||||
|
|
|
@ -19,7 +19,7 @@ digraph {
|
|||
Sno -> Sn [label="close"]
|
||||
Smo -> Sm [label="close" color="red"]
|
||||
S0o -> P_stop [label="close"]
|
||||
|
||||
|
||||
Snm [label="Snm:\nnameplate active\nmailbox active\nclosing"
|
||||
style="dashed"]
|
||||
Sn [label="Sn:\nnameplate active\nmailbox done\nclosing"
|
||||
|
@ -45,6 +45,5 @@ digraph {
|
|||
|
||||
other [shape="box" style="dashed"
|
||||
label="close -> N.close, M.close"]
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ Just add ``--tor`` to use a running Tor daemon:
|
|||
|
||||
```
|
||||
wormhole send --tor myfile.jpg
|
||||
|
||||
|
||||
wormhole receive --tor
|
||||
```
|
||||
|
||||
|
|
|
@ -164,7 +164,7 @@ be handled immediately. The complete example is here:
|
|||
```python
|
||||
from twisted.internet.defer import inlineCallbacks
|
||||
from wormhole.transit import TransitSender
|
||||
|
||||
|
||||
@inlineCallbacks
|
||||
def do_transit():
|
||||
s = TransitSender("tcp:relayhost.example.org:12345")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
digraph {
|
||||
|
||||
|
||||
/*
|
||||
NM_start [label="Nameplate\nMachine" style="dotted"]
|
||||
NM_start -> NM_S_unclaimed [style="invis"]
|
||||
|
|
|
@ -25,7 +25,7 @@ Sender:
|
|||
Sending 7924 byte file named 'README.md'
|
||||
On the other computer, please run: wormhole receive
|
||||
Wormhole code is: 7-crossover-clockwork
|
||||
|
||||
|
||||
Sending (<-10.0.1.43:58988)..
|
||||
100%|=========================| 7.92K/7.92K [00:00<00:00, 6.02MB/s]
|
||||
File sent.. waiting for confirmation
|
||||
|
|
|
@ -56,4 +56,3 @@ def web():
|
|||
reactor.callLater(0, launch_browser)
|
||||
reactor.run()
|
||||
web()
|
||||
|
||||
|
|
|
@ -1017,7 +1017,7 @@ function OFF() {
|
|||
.attr("stroke", "red")
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// horizontal scale markers: vertical lines at rational timestamps
|
||||
|
|
|
@ -14,4 +14,3 @@
|
|||
pyinstaller --clean --distpath=dist wormhole.exe.spec
|
||||
|
||||
# result will be in dist/wormhole.exe
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ universal = 1
|
|||
VCS = git
|
||||
versionfile_source = src/wormhole/_version.py
|
||||
versionfile_build = wormhole/_version.py
|
||||
tag_prefix =
|
||||
tag_prefix =
|
||||
parentdir_prefix = magic-wormhole
|
||||
|
||||
[flake8]
|
||||
|
|
|
@ -51,7 +51,7 @@ class WrongPasswordError(WormholeError):
|
|||
"""
|
||||
Key confirmation failed. Either you or your correspondent typed the code
|
||||
wrong, or a would-be man-in-the-middle attacker guessed incorrectly. Try
|
||||
sending the file again.
|
||||
sending the file again.
|
||||
"""
|
||||
# or the data blob was corrupted, and that's why decrypt failed
|
||||
pass
|
||||
|
|
|
@ -88,5 +88,3 @@ class Connect(unittest.TestCase):
|
|||
|
||||
yield t_left.d
|
||||
yield t_right.d
|
||||
|
||||
|
||||
|
|
|
@ -624,4 +624,3 @@ class TestManager(unittest.TestCase):
|
|||
self.flushLoggedErrors(UnknownDilationMessageType)
|
||||
|
||||
# TODO: test transit relay is used
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user