aboutsummaryrefslogtreecommitdiff
path: root/control-spec.txt
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2021-02-08 13:33:24 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2021-02-08 13:33:24 +0200
commit6eb726c11f0491ed25874a36fc3cb4f40cc43b9d (patch)
tree5a6444942feb155e9678df8f5be08ce80ce80896 /control-spec.txt
parentd7e6d92c230b77d3bd4f2ec64186dc2e7cd77d9a (diff)
parent35aaa1bc6fd6f2285424b73ddc716ca8274b1fe5 (diff)
downloadtorspec-6eb726c11f0491ed25874a36fc3cb4f40cc43b9d.tar.gz
torspec-6eb726c11f0491ed25874a36fc3cb4f40cc43b9d.zip
Merge remote-tracking branch 'tor-gitlab/mr/18'
Diffstat (limited to 'control-spec.txt')
-rw-r--r--control-spec.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/control-spec.txt b/control-spec.txt
index 72d3195..0060aed 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,9 @@
ClientBlob = Authorization data for the client, in an opaque format
specific to the authorization method (v2 only).
+ V3Key = The client's base32-encoded ed25519 public key, using only the key
+ part of rend-spec-v3.txt section G.1.2 (v3 only).
+
The server reply format is:
"250-ServiceID=" ServiceID CRLF
@@ -1798,6 +1804,11 @@
S: 250-ClientAuth=bob:[Blob Redacted]
S: 250 OK
+ C: ADD_ONION NEW:ED25519-V3 ClientAuthV3=[Blob Redacted] Port=22
+ S: 250-ServiceID=n35etu3yjxrqjpntmfziom5sjwspoydchmelc4xleoy4jk2u4lziz2yd
+ S: 250-ClientAuthV3=[Blob Redacted]
+ S: 250 OK
+
Examples with Tor in anonymous onion service mode:
C: ADD_ONION NEW:BEST Flags=DiscardPK Port=22
@@ -1821,6 +1832,7 @@
[ClientAuth was added in Tor 0.2.9.1-alpha. It is v2 only.]
[NonAnonymous was added in Tor 0.2.9.3-alpha.]
[HS v3 support added 0.3.3.1-alpha]
+ [ClientV3Auth support added 0.4.6.1-alpha]
3.28. DEL_ONION