Closed mig5 closed 3 years ago
Yay, the core Tor bug that prevented ADD_ONION working with ClientAuthV3 properly, has been fixed and merged. https://gitlab.torproject.org/tpo/core/tor/-/merge_requests/374
I tested this (Stem 1.8.x) patch with the nightly 0.4.6.x alpha release on Tor's debian repository and it really does work now as expected :) :) Exciting!
Thanks mig5! Merged as a new 'maint' branch for 1.8 work.
Also sets some v2 tests to require older Tor versions so that tests for Client Auth on v3 onions pass on newer Tor without failing tests where v2 support has been dropped.
@atagar this has been branched directly off of the 1.8 tag in order to maybe get a 1.8.1 point release as per discussion in https://github.com/torproject/stem/pull/98 . I can't choose anything but
master
branch to merge this into, which will obviously conflict.. maybe needs a 1.8.0 branch made and then set as the target.Please also note that on this branch I seem to get some test failures that look entirely unrelated to this work, presumably it's either a) an issue with my setup locally (noting the expected 'listener address' in the output) or b) existing issues in the 1.8.x code. Nonetheless the new tests pass with the nightly tor 0.4.6 alpha installed, and I have also brought across the changes needed to skip the v2 tests on that newer tor.
Note also the Tor version test failure because the nightly version has a very long version string with supplementary information. I modified the test to use your
assert_in()
as a slightly more relaxed check, I hope that's ok.