commit d4607a7d2e24ef304021a6e88824647ec330b7f3 Author: David Goulet dgoulet@torproject.org Date: Wed Aug 24 13:06:55 2016 -0400
prop224: Change the publish/fetch HSDir HTTP URL
Use a more generic way to version the URL for the command so it's much easier to parse in the implementation but also decoupled from the command type.
Signed-off-by: David Goulet dgoulet@torproject.org --- proposals/224-rend-spec-ng.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/proposals/224-rend-spec-ng.txt b/proposals/224-rend-spec-ng.txt index 3b41403..9833b49 100644 --- a/proposals/224-rend-spec-ng.txt +++ b/proposals/224-rend-spec-ng.txt @@ -835,12 +835,12 @@ Table of contents:
2.2.6. URLs for anonymous uploading and downloading
- Hidden service descriptors conforming to this specification are - uploaded with an HTTP POST request to the URL - /tor/rendezvous3/publish relative to the hidden service directory's - root, and downloaded with an HTTP GET request for the URL - /tor/rendezvous3/<z> where z is a base-64 encoding of the hidden - service's blinded public key. + Hidden service descriptors conforming to this specification are uploaded + with an HTTP POST request to the URL /tor/hs/<version>/publish relative to + the hidden service directory's root, and downloaded with an HTTP GET + request for the URL /tor/hs/<version>/<z> where <z> is a base64 encoding of + the hidden service's blinded public key and <version> is the protocol + version which is "3" in this case.
These requests must be made anonymously, on circuits not used for anything else.