Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							b72f0ce934 
							
						 
					 
					
						
						
							
							INCOMPATIBLE CHANGE: switch to spake2-0.7  
						
						 
						
						... 
						
						
						
						This changes the way keys are derived, and thus is incompatible with
previous versions. We pin "spake2==0.7" to avoid future surprises. 
						
					 
					
						2016-05-24 13:14:34 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							77661bf94e 
							
						 
					 
					
						
						
							
							use new relay URL, for new protocol  
						
						 
						
						
						
					 
					
						2016-05-24 13:10:45 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							c5b174dd6a 
							
						 
					 
					
						
						
							
							Merge branch 'master' into new-proto  
						
						 
						
						
						
					 
					
						2016-05-24 13:08:21 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							fb2ffe1963 
							
						 
					 
					
						
						
							
							add --signal-error to restart too  
						
						 
						
						
						
					 
					
						2016-05-24 12:59:02 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							a2b88dbf61 
							
						 
					 
					
						
						
							
							server: add --signal-error CLI argument  
						
						 
						
						
						
					 
					
						2016-05-24 12:46:42 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							bc908ef07e 
							
						 
					 
					
						
						
							
							setup.py: pin twisted==16.1.1, remove pytrie  
						
						 
						
						... 
						
						
						
						* To avoid an incompatible patch that landed in Twisted trunk after the
  16.1.1 release, autobahn pinned their requirement on Twisted to
  be <=16.1.1 . However Twisted reverted the patch before making a
  release. The new 16.2.0 is fine. Since autobahn has this pin, and
  since pip doesn't do full dependency resolution, I must add the pin
  too, so that 'pip install magic-wormhole' can work. I plan to remove
  this pin as soon as autobahn does the same upstream.
  https://github.com/crossbario/autobahn-python/issues/680 
* A previous version of autobahn had a bug where it tried to import
  something that wasn't actually depended upon, exposed by having pynacl
  installed. Installing 'pytrie' manually fixed it. This doesn't seem to
  be a problem anymore, so I'm removing the manual dependency. 
						
					 
					
						2016-05-24 00:10:16 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							1ef6218b5b 
							
						 
					 
					
						
						
							
							remove old twisted/transcribe.py, now just wormhole.py  
						
						 
						
						
						
					 
					
						2016-05-24 00:01:22 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							3a062eaa26 
							
						 
					 
					
						
						
							
							bring scripts and tests up to date  
						
						 
						
						... 
						
						
						
						* use wormhole instead of transcribe.py
* send() no longer waits
* get_verifier -> verify
* derive_key demands a length 
						
					 
					
						2016-05-24 00:00:44 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							e2aa43d0a9 
							
						 
					 
					
						
						
							
							transit: expose desired key length  
						
						 
						
						
						
					 
					
						2016-05-24 00:00:21 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							7bcefa78e6 
							
						 
					 
					
						
						
							
							remove test_twisted, now in test_wormhole  
						
						 
						
						
						
					 
					
						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 
							
						 
					 
					
						
						
						
						
							
						
						
							c6ba55c6b5 
							
						 
					 
					
						
						
							
							better diagram  
						
						 
						
						
						
					 
					
						2016-05-22 11:31:15 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							3da52b0a3e 
							
						 
					 
					
						
						
							
							add 'mock', building out test_wormhole  
						
						 
						
						
						
					 
					
						2016-05-22 11:31:00 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							0ee56e12b0 
							
						 
					 
					
						
						
							
							change 'list' protocol, make room for nameplate attributes  
						
						 
						
						
						
					 
					
						2016-05-22 11:01:44 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							53bbcc33f6 
							
						 
					 
					
						
						
							
							new file, state-machine based  
						
						 
						
						
						
					 
					
						2016-05-20 18:49:20 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							181ef04a91 
							
						 
					 
					
						
						
							
							break out more message components, use SidedMessage  
						
						 
						
						
						
					 
					
						2016-05-20 16:39:59 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							05aa5ca76e 
							
						 
					 
					
						
						
							
							WIP Wormhole  
						
						 
						
						
						
					 
					
						2016-05-20 13:51:05 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							3b86571de3 
							
						 
					 
					
						
						
							
							fix py3  
						
						 
						
						
						
					 
					
						2016-05-20 12:12:07 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							390cd08b53 
							
						 
					 
					
						
						
							
							better command/response names: allocate+allocated, claim+claimed  
						
						 
						
						
						
					 
					
						2016-05-20 11:35:30 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							6c5b517ad1 
							
						 
					 
					
						
						
							
							hush  
						
						 
						
						
						
					 
					
						2016-05-20 11:10:17 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							ce06d379d9 
							
						 
					 
					
						
						
							
							remove old tests  
						
						 
						
						
						
					 
					
						2016-05-20 11:09:45 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							0a14901e94 
							
						 
					 
					
						
						
							
							full coverage of websocket  
						
						 
						
						
						
					 
					
						2016-05-20 11:08:10 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							399efb374c 
							
						 
					 
					
						
						
							
							don't close websocket when mailbox is deleted  
						
						 
						
						... 
						
						
						
						This made sense for ServerSentEvent channels (which has no purpose once
the channel was gone), but not so much for websockets. And it prevented
testing duplicate-close. 
						
					 
					
						2016-05-20 11:07:21 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							f044ef0efa 
							
						 
					 
					
						
						
							
							tests almost good  
						
						 
						
						
						
					 
					
						2016-05-19 23:50:22 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							335ed00cb7 
							
						 
					 
					
						
						
							
							build out tests  
						
						 
						
						
						
					 
					
						2016-05-19 19:55:11 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							e39a8291e3 
							
						 
					 
					
						
						
							
							checkpointing: server roughed out  
						
						 
						
						
						
					 
					
						2016-05-19 18:09:17 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							0e72422ffa 
							
						 
					 
					
						
						
							
							WIP  
						
						 
						
						
						
					 
					
						2016-05-19 14:18:49 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							5994eb11d4 
							
						 
					 
					
						
						
							
							WIP new proto  
						
						 
						
						
						
					 
					
						2016-05-18 00:16:46 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							2ea5d96290 
							
						 
					 
					
						
						
							
							Channels don't need "welcome" anymore  
						
						 
						
						
						
					 
					
						2016-05-17 17:35:44 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							a74b1b1e3a 
							
						 
					 
					
						
						
							
							WIP: new server protocol  
						
						 
						
						
						
					 
					
						2016-05-16 22:04:25 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							5dd91c7311 
							
						 
					 
					
						
						
							
							test too-many-allocate, allocate+claim  
						
						 
						
						
						
					 
					
						2016-05-13 00:46:12 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							c4c0cf71eb 
							
						 
					 
					
						
						
							
							add test  
						
						 
						
						
						
					 
					
						2016-05-13 00:43:59 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							1198977e06 
							
						 
					 
					
						
						
							
							SCHEMA CHANGE: channelids are now strs, not ints  
						
						 
						
						... 
						
						
						
						This will enable the use of large randomly-generated hex or base32
channelids, for post-startup or resumed-connection channels. 
						
					 
					
						2016-05-13 00:37:53 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							c14e982ae7 
							
						 
					 
					
						
						
							
							rendezvous: allow multiple channels per connection  
						
						 
						
						
						
					 
					
						2016-05-12 18:01:56 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							31491bb939 
							
						 
					 
					
						
						
							
							update docs  
						
						 
						
						
						
					 
					
						2016-05-12 17:48:26 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							85dc0fd41b 
							
						 
					 
					
						
						
							
							change server API: "release" instead of "deallocate"  
						
						 
						
						
						
					 
					
						2016-05-12 17:46:15 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							2c2cf29564 
							
						 
					 
					
						
						
							
							update comment: sent -> server_tx  
						
						 
						
						
						
					 
					
						2016-05-12 17:12:04 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							bdc9066c23 
							
						 
					 
					
						
						
							
							rendezvous: change add_listener signature  
						
						 
						
						... 
						
						
						
						Pass in a handle and a pair of functions, rather than an object with two
well-known methods. This should make it easier to subscribe to multiple
channels in the future. 
						
					 
					
						2016-05-12 17:03:57 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							a34fb2a98b 
							
						 
					 
					
						
						
							
							remove plain-HTTP (non-WebSocket) rendezvous server  
						
						 
						
						
						
					 
					
						2016-05-12 16:56:19 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							104ef44d53 
							
						 
					 
					
						
						
							
							provide wormhole() as a function, rather than a class constructor  
						
						 
						
						... 
						
						
						
						You must always provide a reactor= argument. In the future, omitting the
reactor= argument is how you ask for a blocking Wormhole. 
						
					 
					
						2016-05-12 16:45:54 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							d87aba40e4 
							
						 
					 
					
						
						
							
							rename _confirm message to just "confirm"  
						
						 
						
						
						
					 
					
						2016-05-12 16:45:54 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							d0ef53fc4d 
							
						 
					 
					
						
						
							
							remove phase= from the Wormhole API  
						
						 
						
						... 
						
						
						
						Phase are now implicit and numbered. 
						
					 
					
						2016-05-12 16:45:54 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							501af4b4ec 
							
						 
					 
					
						
						
							
							rename send_data/get_data to just send/get  
						
						 
						
						
						
					 
					
						2016-05-12 16:45:54 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							49785008bb 
							
						 
					 
					
						
						
							
							remove blocking implementation: it will return  
						
						 
						
						... 
						
						
						
						It will return as a crochet-based wrapper around the Twisted
implementation. 
						
					 
					
						2016-05-12 16:45:54 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							4dfa569769 
							
						 
					 
					
						
						
							
							docs: remove named phases, Wormhole is now a record pipe  
						
						 
						
						
						
					 
					
						2016-05-12 16:45:54 -07:00