Commit Graph

1365 Commits

Author SHA1 Message Date
Brian Warner
ec5df72cd3 more protocol docs updates 2018-12-23 15:23:27 -05:00
Brian Warner
74e5d9948b move old-follower.py out of src, kept for temporary reference 2018-12-23 15:23:27 -05:00
Brian Warner
a594a85427 Revert "Boss/Receive: add 'side' to got_message"
This reverts commit 1fece5701c9de5e470526d2e7e9cfd7b461977e0.
2018-12-23 15:23:27 -05:00
Brian Warner
d4c9210a4e more docs updates 2018-12-23 15:23:27 -05:00
Brian Warner
72c9683cdf dilation-protocol.md: update for new PLEASE+PLEASE approach 2018-12-23 15:23:27 -05:00
Brian Warner
5dca0542eb travis: tolerate py3.4 failure because of txtorcon bug
https://github.com/meejah/txtorcon/issues/306
2018-12-23 15:23:27 -05:00
Brian Warner
d65fcaa1a6 more flake8 fixes 2018-12-23 15:22:57 -05:00
Brian Warner
48d740406b setup.cfg: bump flake8 max-line-length to 85 2018-12-23 15:22:57 -05:00
Brian Warner
5f61531445 more flake8 fixes, in wormhole.py and _interfaces.py 2018-12-23 15:22:57 -05:00
Brian Warner
bf0c93eddc more flake8 fixes 2018-12-23 15:22:57 -05:00
Brian Warner
ea35e570a2 setup.cfg: bump flake8 max-line-length to 84 2018-12-23 15:22:57 -05:00
Brian Warner
05900bd08b fix some flake8 complaints 2018-12-23 15:22:57 -05:00
Brian Warner
39666f3fed travis: tolerate failures in py2.7, 'noiseprotocol' dep is py3-only 2018-12-23 15:22:57 -05:00
Brian Warner
34686a346a add dilation code
(this compresses several months of false starts and rearchitecting)
2018-12-23 15:21:08 -05:00
Brian Warner
cd6ae6390f _rendezvous: add note to use EventualQueue 2018-12-23 15:20:25 -05:00
Brian Warner
6cfabba31a add reactor/cooperator to Wormhole and Boss calls 2018-12-23 15:20:25 -05:00
Brian Warner
a693b1fc48 Boss/Receive: add 'side' to got_message
this will be used later by Dilation
2018-12-23 15:20:25 -05:00
Brian Warner
e260369be1 __main__.py: stop breaking automat-visualize 2018-12-23 15:20:24 -05:00
Brian Warner
eb7c04e366 observer.py: add EmptyableSet 2018-12-23 15:18:38 -05:00
Brian Warner
e6b4ccb565 Merge branch 'pr318' 2018-12-09 14:28:56 -08:00
Edward Betts
010d1843c0 Correct spelling mistakes 2018-11-23 07:38:21 +00:00
Mario Rodas
504ddb0d91 Add inlineCallbacks decorator to test_wormholes testcase 2018-11-19 23:38:29 -05:00
Brian Warner
13102d3eed NEWS: update for 0.11.2 release 2018-11-13 15:08:53 -08:00
Brian Warner
a04e798615 NEWS: update for 0.11.1 release 2018-11-13 10:26:29 -08:00
Brian Warner
4e97bb041a fix/hush some flake8 warnings
test_ipaddrs.py had an invalid regexp, caught by the latest version of flake8

The new flake8 complains about both W503 (line break inside a conditional
before a binary operator) and W504 (line break *after* the operator). I think
break-before is the new preferred style, but for now I'm just going to ignore
them both and leave the code alone.
2018-11-13 10:21:41 -08:00
Brian Warner
74da87bec2 change __main__.py to use relative imports
This should fix `python -m wormhole` on py2. Closes #315.
2018-11-13 09:59:36 -08:00
Jakub Wilk
24836cea63 docs: fix typos 2018-11-03 15:38:58 +01:00
Brian Warner
0eaba64718 NEWS: update for 0.11.0 release 2018-10-16 16:31:01 -07:00
Brian Warner
da33f9f918 MANIFEST.in: add some missing files 2018-10-16 16:29:24 -07:00
Brian Warner
54a369c95a setup.py: bump dep on transit-relay to latest 0.1.2 2018-10-16 16:12:51 -07:00
Brian Warner
3f5bb3b5d5 NEWS: minor change to exercise travis
it's probably kind of dusty after all this time
2018-10-16 16:05:02 -07:00
Brian Warner
6d4eb8e69b add test_keys to nail down symmetric encryption format
This establishes what our mailbox protocol does to encrypt the
individual (post-SPAKE2) messages, which combines NaCl SecretBox and our own
key-derivation choices. I'd like to move off of NaCl/libsodium and I think
some RFC7539-implementing library might be compatible, and with these test
vectors I can check that. I also want to copy these tests into the Rust port.
2018-08-21 10:12:23 -07:00
Brian Warner
777c963c9a README: note py37 compatibility 2018-07-27 14:46:13 -07:00
Brian Warner
5d712395ef Merge branch 'py37'
Enable py37 in travis-ci
2018-07-27 14:33:25 -07:00
Brian Warner
454bf1eaf6 simplify .travis.yml 2018-07-27 14:26:31 -07:00
Brian Warner
d6866e11fe update allow_failures 2018-07-27 14:17:16 -07:00
Brian Warner
2bf9370c68 travis: use different dists/sudo for different python versions 2018-07-27 14:05:30 -07:00
Brian Warner
d893f7d39a try dist:xenial 2018-07-11 17:05:43 -07:00
Brian Warner
43bf219735 travis: use sudo=true and group=edge to get bionic
which maybe can install py37
2018-07-11 16:36:50 -07:00
Brian Warner
9d220bea73 travis: try "dist: xenial"
I don't think this will actually work
2018-07-11 16:13:29 -07:00
Brian Warner
ef32b23fe9 travis: move to 'trusty' dist
the old 'precise' environment doesn't have py3.7 available
2018-07-11 13:30:46 -07:00
Brian Warner
1181a7dba7 travis: require py37 to pass 2018-07-11 13:23:04 -07:00
Brian Warner
3f099cc51f setup.py: bump to txtorcon-18.0.2 to fix py3.4 2018-07-02 23:57:11 -07:00
Brian Warner
5ccda71467 Merge branch 'fix-py37'
I tested this locally (on MacOS) against python3.7.0, and it now works. This
will appear broken on travis/appveyor until those CI environments add support
for py3.7 (but the failures should be ignored since py3.7 is in the
'allowed_failures' list).

closes #306
2018-07-01 14:34:41 -07:00
Brian Warner
eacc6fe450 travis/appveyor: allow failures of the py3.7 build
until they're actually supported by both systems. Neither has a py3.7 image
available yet.
2018-07-01 14:33:28 -07:00
Brian Warner
4531513602 cmd_send/receive: work around python3.7.0 bug
See https://bugs.python.org/issue26175 . tempfile.SpooledTemporaryFile
doesn't fully implement the IOBase abstract class, which breaks because
py3.7.0's new zipfile module tries to delegate .seekable down to the wrapped
file and causes an AttributeError.

refs #306
2018-07-01 14:27:32 -07:00
Brian Warner
47e4c436a8 tox/travis/appveyor: enable testing on py3.7 2018-07-01 10:29:48 -07:00
Brian Warner
5dd41cead3 setup.py: update to latest mailbox-server 0.3.1 2018-06-23 19:31:29 -07:00
Brian Warner
206005670f NEWS: update with recent changes 2018-06-16 17:31:37 -07:00
Brian Warner
b06eda5f11 setup.py: update to newly-released mailbox-server 0.2.0 2018-06-16 17:26:53 -07:00