On 25 Jan 2018, at 05:14, Micah Lee micah@micahflee.com wrote:
Now that Tor Browser 7.5 is released and includes the tor 0.3.2 series, which supports next generation onion services, I would love to make OnionShare use these by default. Here is the issue [1].
OnionShare is written in python3 and relies on stem to communicate with the Tor controller. Although tor now supports v3 ephemeral onion services, stem still doesn't. Just take make sure, here's a quick test, with Tor Browser 7.5 (providing tor 0.3.2.9) open in the background, and using stem 1.6.0:
Here is the current status of v3 onion control port support:
This proposal is listed as "Finished": https://gitweb.torproject.org/torspec.git/tree/proposals/284-hsv3-control-po...
And the code was merged into 0.3.3 (not 0.3.2): https://trac.torproject.org/projects/tor/ticket/20699
Stem typically tracks Tor's control spec. But the changed commands have not been integrated into control-spec.txt: https://trac.torproject.org/projects/tor/ticket/24847
And as a related issue, there is currently no way to ask Tor if it supports v3 onion control port events: https://trac.torproject.org/projects/tor/ticket/24617 (But "try it and see" probably works.)
T