diff options
author | Neel Chauhan <neel@neelc.org> | 2020-11-15 14:29:02 -0800 |
---|---|---|
committer | Neel Chauhan <neel@neelc.org> | 2020-11-15 14:29:02 -0800 |
commit | cda3558894c23bb21bfdc33b1ab4e8e2c7ff27ea (patch) | |
tree | 76c3f0e2ed08b11442f4f172e67d07d3fed0738c /control-spec.txt | |
parent | e94fd12a2b0944f2201b5850c45b912991c103b3 (diff) | |
download | torspec-cda3558894c23bb21bfdc33b1ab4e8e2c7ff27ea.tar.gz torspec-cda3558894c23bb21bfdc33b1ab4e8e2c7ff27ea.zip |
Add torspec for V3 control port authorization format
Diffstat (limited to 'control-spec.txt')
-rw-r--r-- | control-spec.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/control-spec.txt b/control-spec.txt index 12dd1a7..da8a1e5 100644 --- a/control-spec.txt +++ b/control-spec.txt @@ -1666,6 +1666,7 @@ [SP "MaxStreams=" NumStreams] 1*(SP "Port=" VirtPort ["," Target]) *(SP "ClientAuth=" ClientName [":" ClientBlob]) CRLF + *(SP "ClientAuthV3=" V3Key) CRLF KeyType = "NEW" / ; The server should generate a key of algorithm KeyBlob @@ -1691,6 +1692,8 @@ to the current control connection. "BasicAuth" / ; Client authorization is required using the "basic" method (v2 only). + "V3Auth" / ; Version 3 client authorization is required (v3 only). + "NonAnonymous" /; Add a non-anonymous Single Onion Service. Tor checks this flag matches its configured hidden service anonymity mode. @@ -1713,6 +1716,8 @@ ClientBlob = Authorization data for the client, in an opaque format specific to the authorization method (v2 only). + V3Key = The client's base32-encoded public key (v3 only). + The server reply format is: "250-ServiceID=" ServiceID CRLF |