Join GitHub today
"Dilation" protocol #312
The "Dilation" protocol is a new way to manage the encrypted bulk-data pipe, which we use to do the actual file-transfer, replacing the current "Transit" protocol.
We first run the "wormhole" protocol to negotiate a session key and exchange some setup messages, then we switch over to Transit. When Dilation is implemented, the bulk-data pipe will be a part of the Wormhole object, rather than being an entirely separate thing.
I've been stuck at 80% on the protocol implementation for a long time now (the
referenced this issue
Oct 16, 2018
added a commit
Dec 25, 2018
Ok, that lands the low-level protocol. The
The next steps are to write the higher-level tests, fix what breaks, and then start thinking about backwards-compatibility signalling with older versions. Basically we have a matrix where each side can be one of:
Anything involving an old client must use the old Transit protocol, but if both sides are new then we should use Dilation instead. GUI mode requires Dilation.