Brian Warner
97c5d08b6a
internally, _derive_key now takes bytes
...
The w.derive_key(purpose) API still requires unicode.
2016-05-24 13:31:03 -07:00
Brian Warner
7c8e5fb062
factor out key-derivation, prepare for change
2016-05-24 13:26:08 -07:00
Brian Warner
2c64805ea1
fix input_code
2016-05-24 00:00:04 -07:00
Brian Warner
9bd5afe7df
make close() always wait
2016-05-23 23:59:49 -07:00
Brian Warner
e11a6f8243
new connection management, test_wormhole passes
2016-05-23 22:53:26 -07:00
Brian Warner
528092dd97
improve error signalling
2016-05-23 00:14:39 -07:00
Brian Warner
c88d6937c2
close(wait=True): wait for connection to be dropped
2016-05-22 18:45:50 -07:00
Brian Warner
c10fd98167
many tests working
...
* add "released" ack-response for "release" command, to sync w.close()
* move websocket URL to root
* relayurl= should now be a "ws://" URL
* many tests pass (except for test_twisted, which will be removed, and
test_scripts)
* still moving integration tests from test_twisted to
test_wormhole.Wormholes
2016-05-22 18:40:44 -07:00
Brian Warner
3da52b0a3e
add 'mock', building out test_wormhole
2016-05-22 11:31:00 -07:00
Brian Warner
53bbcc33f6
new file, state-machine based
2016-05-20 18:49:20 -07:00