trim trailing whitespace

This commit is contained in:
a1346054 2021-08-25 19:19:52 +00:00
parent a874a6400d
commit 65237a8ecf
24 changed files with 14 additions and 31 deletions

View File

@ -1,4 +1,3 @@
User-visible changes in "magic-wormhole": User-visible changes in "magic-wormhole":
## Release 0.12.0 (04-Apr-2020) ## Release 0.12.0 (04-Apr-2020)

View File

@ -699,4 +699,3 @@ w.send_message(msg) | |
. | d=w.get_message() | dg.wormhole_got_message(msg) . | d=w.get_message() | dg.wormhole_got_message(msg)
w.close() | | dg.wormhole_closed(result) w.close() | | dg.wormhole_closed(result)
. | d=w.close() | . | d=w.close() |

View File

@ -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 phase+side -specific key (computed with HKDF-SHA256, using the shared PAKE
key as the secret input, and `wormhole:phase:%s%s % (SHA256(side), key as the secret input, and `wormhole:phase:%s%s % (SHA256(side),
SHA256(phase))` as the CTXinfo), with a random nonce. SHA256(phase))` as the CTXinfo), with a random nonce.

View File

@ -180,6 +180,3 @@ texinfo_documents = [
author, 'Magic-Wormhole', 'One line description of project.', author, 'Magic-Wormhole', 'One line description of project.',
'Miscellaneous'), 'Miscellaneous'),
] ]

View File

@ -53,4 +53,3 @@ describes this application's use of the client messages.
Application use the `wormhole` library to establish wormhole connections and Application use the `wormhole` library to establish wormhole connections and
exchange data through them. Please see `api.md` for a complete description of exchange data through them. Please see `api.md` for a complete description of
this interface. this interface.

View File

@ -1,7 +1,6 @@
default: images 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 .PHONY: default images

View File

@ -25,5 +25,5 @@ digraph {
P_allocated -> S2 [color="orange"] P_allocated -> S2 [color="orange"]
S2 [label="S2:\ndone" color="orange"] S2 [label="S2:\ndone" color="orange"]
} }

View File

@ -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" 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"
] ]
} }

View File

@ -94,5 +94,5 @@ digraph {
S0B -> P3B_done [label="close" color="red"] S0B -> P3B_done [label="close" color="red"]
S1A -> P3A_done [label="close" color="red"] S1A -> P3A_done [label="close" color="red"]
S2A -> S3A [label="close" color="red"] S2A -> S3A [label="close" color="red"]
} }

View File

@ -22,7 +22,7 @@ digraph {
S1B -> S2B [style="invis"] S1B -> S2B [style="invis"]
{rank=same; S1A S1B} {rank=same; S1A S1B}
S1A -> S1B [style="invis"] S1A -> S1B [style="invis"]
{rank=same; S2A P2_connected S2B} {rank=same; S2A P2_connected S2B}
S2A [label="S2A:\nmaybe claimed"] S2A [label="S2A:\nmaybe claimed"]
S2A -> P2_connected [label="connected"] S2A -> P2_connected [label="connected"]
@ -96,6 +96,5 @@ digraph {
S2B -> P3_release [label="close" color="red"] S2B -> P3_release [label="close" color="red"]
S3B -> P3_release [label="close" color="red"] S3B -> P3_release [label="close" color="red"]
S4B -> S4B [label="close" color="red"] S4B -> S4B [label="close" color="red"]
} }

View File

@ -21,7 +21,7 @@ digraph {
P1_other [shape="box" label="R.got_message"] P1_other [shape="box" label="R.got_message"]
P1_other -> S1 P1_other -> S1
/* the Mailbox will deliver each message exactly once, but doesn't /* the Mailbox will deliver each message exactly once, but doesn't
guarantee ordering: if Alice starts the process, then disconnects, guarantee ordering: if Alice starts the process, then disconnects,
then Bob starts (reading PAKE, sending both his PAKE and his VERSION then Bob starts (reading PAKE, sending both his PAKE and his VERSION

View File

@ -3,7 +3,7 @@ digraph {
{rank=same; S0 P0_queue} {rank=same; S0 P0_queue}
{rank=same; S1 P1_send} {rank=same; S1 P1_send}
S0 [label="S0: unknown\nkey"] S0 [label="S0: unknown\nkey"]
S0 -> P0_queue [label="send" style="dotted"] S0 -> P0_queue [label="send" style="dotted"]
P0_queue [shape="box" label="queue" style="dotted"] P0_queue [shape="box" label="queue" style="dotted"]

View File

@ -19,7 +19,7 @@ digraph {
Sno -> Sn [label="close"] Sno -> Sn [label="close"]
Smo -> Sm [label="close" color="red"] Smo -> Sm [label="close" color="red"]
S0o -> P_stop [label="close"] S0o -> P_stop [label="close"]
Snm [label="Snm:\nnameplate active\nmailbox active\nclosing" Snm [label="Snm:\nnameplate active\nmailbox active\nclosing"
style="dashed"] style="dashed"]
Sn [label="Sn:\nnameplate active\nmailbox done\nclosing" Sn [label="Sn:\nnameplate active\nmailbox done\nclosing"
@ -45,6 +45,5 @@ digraph {
other [shape="box" style="dashed" other [shape="box" style="dashed"
label="close -> N.close, M.close"] label="close -> N.close, M.close"]
} }

View File

@ -14,7 +14,7 @@ Just add ``--tor`` to use a running Tor daemon:
``` ```
wormhole send --tor myfile.jpg wormhole send --tor myfile.jpg
wormhole receive --tor wormhole receive --tor
``` ```

View File

@ -164,7 +164,7 @@ be handled immediately. The complete example is here:
```python ```python
from twisted.internet.defer import inlineCallbacks from twisted.internet.defer import inlineCallbacks
from wormhole.transit import TransitSender from wormhole.transit import TransitSender
@inlineCallbacks @inlineCallbacks
def do_transit(): def do_transit():
s = TransitSender("tcp:relayhost.example.org:12345") s = TransitSender("tcp:relayhost.example.org:12345")

View File

@ -1,5 +1,5 @@
digraph { digraph {
/* /*
NM_start [label="Nameplate\nMachine" style="dotted"] NM_start [label="Nameplate\nMachine" style="dotted"]
NM_start -> NM_S_unclaimed [style="invis"] NM_start -> NM_S_unclaimed [style="invis"]

View File

@ -25,7 +25,7 @@ Sender:
Sending 7924 byte file named 'README.md' Sending 7924 byte file named 'README.md'
On the other computer, please run: wormhole receive On the other computer, please run: wormhole receive
Wormhole code is: 7-crossover-clockwork Wormhole code is: 7-crossover-clockwork
Sending (<-10.0.1.43:58988).. Sending (<-10.0.1.43:58988)..
100%|=========================| 7.92K/7.92K [00:00<00:00, 6.02MB/s] 100%|=========================| 7.92K/7.92K [00:00<00:00, 6.02MB/s]
File sent.. waiting for confirmation File sent.. waiting for confirmation

View File

@ -56,4 +56,3 @@ def web():
reactor.callLater(0, launch_browser) reactor.callLater(0, launch_browser)
reactor.run() reactor.run()
web() web()

View File

@ -1017,7 +1017,7 @@ function OFF() {
.attr("stroke", "red") .attr("stroke", "red")
; ;
// horizontal scale markers: vertical lines at rational timestamps // horizontal scale markers: vertical lines at rational timestamps

View File

@ -14,4 +14,3 @@
pyinstaller --clean --distpath=dist wormhole.exe.spec pyinstaller --clean --distpath=dist wormhole.exe.spec
# result will be in dist/wormhole.exe # result will be in dist/wormhole.exe

View File

@ -5,7 +5,7 @@ universal = 1
VCS = git VCS = git
versionfile_source = src/wormhole/_version.py versionfile_source = src/wormhole/_version.py
versionfile_build = wormhole/_version.py versionfile_build = wormhole/_version.py
tag_prefix = tag_prefix =
parentdir_prefix = magic-wormhole parentdir_prefix = magic-wormhole
[flake8] [flake8]

View File

@ -51,7 +51,7 @@ class WrongPasswordError(WormholeError):
""" """
Key confirmation failed. Either you or your correspondent typed the code Key confirmation failed. Either you or your correspondent typed the code
wrong, or a would-be man-in-the-middle attacker guessed incorrectly. Try 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 # or the data blob was corrupted, and that's why decrypt failed
pass pass

View File

@ -88,5 +88,3 @@ class Connect(unittest.TestCase):
yield t_left.d yield t_left.d
yield t_right.d yield t_right.d

View File

@ -624,4 +624,3 @@ class TestManager(unittest.TestCase):
self.flushLoggedErrors(UnknownDilationMessageType) self.flushLoggedErrors(UnknownDilationMessageType)
# TODO: test transit relay is used # TODO: test transit relay is used