aboutsummaryrefslogtreecommitdiff
path: root/proposals/284-hsv3-control-port.txt
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-11-07 15:04:16 -0500
committerDavid Goulet <dgoulet@torproject.org>2017-11-07 15:07:12 -0500
commitf8122635bc45342243c248d9763b8fbb281a62b7 (patch)
tree7c84ba9b18cc7edf611ce6309278d75f2651a61c /proposals/284-hsv3-control-port.txt
parent9a53e606a00233e433e2fa9ddad3b5ad49432fe2 (diff)
downloadtorspec-f8122635bc45342243c248d9763b8fbb281a62b7.tar.gz
torspec-f8122635bc45342243c248d9763b8fbb281a62b7.zip
prop284: Improve the ADD_ONION new key type wording
Also define the new ed25519 key blob encoding format which is the same format as the current v2 key blob is expected to be in. Closes #24165 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'proposals/284-hsv3-control-port.txt')
-rw-r--r--proposals/284-hsv3-control-port.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/proposals/284-hsv3-control-port.txt b/proposals/284-hsv3-control-port.txt
index f2d03f6..e229bf9 100644
--- a/proposals/284-hsv3-control-port.txt
+++ b/proposals/284-hsv3-control-port.txt
@@ -88,11 +88,16 @@ Status: Open
New "KeyType" value to "ED25519-V3" which identifies the key type to be a
v3 ed25519 key.
- New "KeyBlob" value to support the new "ED25519-V3", if specified, will
- generate a new ed25519 private key.
+ With the KeyType == "ED25519-V3", the "KeyBlob" should be a base64 encoded
+ ed25519 private key.
+
+ The "NEW:BEST" option will still return a version 2 address as long as the
+ HiddenServiceVersion torrc option default is 2. To ask for a new v3 key,
+ this should be used: "NEW:ED25519-V3".
Because client authentication is not yet implemented, the "ClientAuth"
- field is ignored as well as "Flags=BasicAuth".
+ field is ignored as well as "Flags=BasicAuth". A 513 error is returned if
+ "ClientAuth" is used with an ED25519-V3 key type.
3.1.4. DEL_ONION