When I made it possible to override APPID with a CLI argument (issue #113), I forgot to also change this w.derive_key() (issue #339). We don't really need to include APPID in that purpose string at all (the ideal code would be just `w.derive_key("transit-key", length)`), but we're stuck with it now. Both sides must use the same derivation process, and it would be pretty expensive/complicated to negotiate the process ahead of time (and this code is scheduled to be obsoleted by Dilation anyways). I added a note to the two sites that use it, and put a local copy of the APPID there. We should treat that copy as an arbitrary magic string that must be included for compatibility with existing deployments (potential file-transfer peers), which is coincidentally similar to the default `APPID`. closes #339 |
||
|---|---|---|
| docs | ||
| misc | ||
| pyi | ||
| src/wormhole | ||
| .appveyor.yml | ||
| .coveragerc | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| LICENSE | ||
| MANIFEST.in | ||
| NEWS.md | ||
| README.md | ||
| setup.cfg | ||
| setup.py | ||
| snapcraft.yaml | ||
| tox.ini | ||
| versioneer.py | ||
Magic Wormhole
Get things from one computer to another, safely.
This package provides a library and a command-line tool named wormhole,
which makes it possible to get arbitrary-sized files and directories
(or short pieces of text) from one computer to another. The two endpoints are
identified by using identical "wormhole codes": in general, the sending
machine generates and displays the code, which must then be typed into the
receiving machine.
The codes are short and human-pronounceable, using a phonetically-distinct wordlist. The receiving side offers tab-completion on the codewords, so usually only a few characters must be typed. Wormhole codes are single-use and do not need to be memorized.
For complete documentation, please see https://magic-wormhole.readthedocs.io or the docs/ subdirectory.
License, Compatibility
This library is released under the MIT license, see LICENSE for details.
This library is compatible with python2.7, 3.5, 3.6, and 3.7.