meejah / txtorcon

Twisted-based asynchronous Tor control protocol implementation. Includes unit-tests, examples, state-tracking code and configuration abstraction.
http://fjblvrw2jrxnhtg67qpbzi45r7ofojaoo3orzykesly2j3c2m3htapid.onion/
MIT License
250 stars 72 forks source link

app idea: publish documents #31

Closed meejah closed 10 years ago

meejah commented 11 years ago

Expand the launch_tor_endpoint example into apps/torpublish which will publish a collection of documents at a hidden service endpoint. Should include robust command-line handling, simple instructions, etcetera.

Key-handling should be considered -- although a quick publish to a random .onion is okay, most people would likely want the ability to re-launch their service at the same onion address and hence would need to save the private key somewhere.

The existing Twisted Web stuff is probably sufficient for this use-case, although it may be worth exploring Cyclone (the clone of Tornado which uses Twisted's tested async core instead of custom untested stuff) having the advantage of covering another use-case with an example.

fpietrosanti commented 11 years ago

At GlobaLeaks http://github.com/globaleaks/GLBackend we are using Cyclone with Twisted and TxTorCon.

While the handling of the private key (security) still remain an issue to be fixed

meejah commented 11 years ago

Ah, okay, that's probably a better example then ;)