meejah / txtorcon

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

Rectify IAddress and authenticated hidden-services #131

Closed david415 closed 6 years ago

david415 commented 9 years ago

onion not showing up in the str repr for onion service addr object... but the port shows up.

meejah commented 9 years ago

This is a consequence of the stealth-auth stuff on master, and the "XXX" comments around endpoints.py line 460 -- stealth-authenticated hidden-services do not have "a" onion URI, but N onion URIs.

Still trying to figure out this API precisely... :/

meejah commented 9 years ago

I'm trying to avoid having like 6 different HiddenService classes:

So, the issues are:

meejah commented 9 years ago

For now, I've put in a workaround so that you get the first hostname if there are multiples (so, if you're using "normal" hidden-services, it works again).

@david415 let me know if this doesn't solve your immediate problem.

meejah commented 6 years ago

I believe the new Onion API addresses this