unkaktus / onionize

create an onion site from a directory, file, zip or an HTTP(S) site
Creative Commons Zero v1.0 Universal
30 stars 5 forks source link

Provide cancellation of process at any moment #59

Closed unkaktus closed 6 years ago

unkaktus commented 6 years ago

Right now if uses clicks on "start sharing" button they are unable to cancel it while it says "starting sharing...". Due to technical limitations there is 30s delay before onion service goes live, so the user may want to cancel process right at this point.

ei8fdb commented 6 years ago

This 30 second delay is due to the Tor service, right? Is there anyway that the process could be something like this:

If there's not an easy way for it to happen - let's think about the implications of the user not being able to stop the share being created:

Maybe you could make an argument that "someone nasty" could scan for Onion URLs.

But if the user wants to "stop" sharing, then they are able to do it (once live).

Stopping the sharing would be achieved by pressing Stop share, after the 30 seconds it takes Tor to make the onion service live.

unkaktus commented 6 years ago

I think I will close this because of migration to new onion addresses (#40). @ei8fdb, thanks for your insights! Many of them are still applicable to application as a whole. 🍻