Control-spec states that HSFETCH can be done with a specific descriptor ID, but because stem enforcesa address check with stem.util.tor_tools.is_valid_hidden_service_address() this can't be done.
Trac: Username: moonsikpark
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Thanks moonsikpark! If await_result is provided this looks like it'll fail (note the "event.address == address" conditionals below).
Would you mind describing your use case? I've never run across someone that wanted to query HS descriptors via their identifier.
In checking the spec there's a couple other wrinkles with identifier queries...
"DescIDs can only be version 2 IDs."
So despite taking a version prefix this doesn't work at all with v3 services. This is a bit concerning because v2 will be deprecated at some point. Is there a ticket for adding tor support for querying v3 services by their descriptor id? If not then it sounds like this capability might be going away.
"If a DescId is specified, at least one Server MUST also be provided"
If we do decide to support this within stem we'll need to raise a ValueError if we get a descriptor id and a server argument is not supplied.
Thanks moonsikpark! If await_result is provided this looks like it'll fail (note the "event.address == address" conditionals below).
Would you mind describing your use case? I've never run across someone that wanted to query HS descriptors via their identifier.
In checking the spec there's a couple other wrinkles with identifier queries...
"DescIDs can only be version 2 IDs."
So despite taking a version prefix this doesn't work at all with v3 services. This is a bit concerning because v2 will be deprecated at some point. Is there a ticket for adding tor support for querying v3 services by their descriptor id? If not then it sounds like this capability might be going away.
"If a DescId is specified, at least one Server MUST also be provided"
If we do decide to support this within stem we'll need to raise a ValueError if we get a descriptor id and a server argument is not supplied.
There's no equivalent for the "Descriptor ID" in the v3 onion service protocol.