From f8122635bc45342243c248d9763b8fbb281a62b7 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Tue, 7 Nov 2017 15:04:16 -0500 Subject: 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 --- proposals/284-hsv3-control-port.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'proposals/284-hsv3-control-port.txt') 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 -- cgit v1.2.3-54-g00ecf