diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-05-07 18:15:09 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-05-07 18:15:09 +0300 |
commit | 13928996f4928773605527b561cdb212c1d93766 (patch) | |
tree | 51392c70c99caae662133879af23e9dceb28ae71 /control-spec.txt | |
parent | 3a26880e80617210b4729f96664ef9f0345b0b7c (diff) | |
download | torspec-13928996f4928773605527b561cdb212c1d93766.tar.gz torspec-13928996f4928773605527b561cdb212c1d93766.zip |
control-spec: Add error codes to the commands.
Diffstat (limited to 'control-spec.txt')
-rw-r--r-- | control-spec.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/control-spec.txt b/control-spec.txt index bc57639..21e104e 100644 --- a/control-spec.txt +++ b/control-spec.txt @@ -1826,6 +1826,11 @@ should be used for this client, and "Nickname" is an optional nickname for the client. + On success, "250 OK" is returned. Otherwise, the following error codes exist: + 251 - Client with with this "PrivateKeyBlob" already existed. + 512 - Syntax error in "HSAddress", or "PrivateKeyBlob" or "Nickname" + 551 - Client with with this "Nickname" already exists + 3.31. REMOVE_ONION_CLIENT_AUTH The syntax is: @@ -1835,6 +1840,10 @@ Tells the server to remove the client-side v3 client auth credentials for the onion service with "HSAddress" and client with key "PrivateKeyBlob". + On success "250 OK" is returned. Otherwise, the following error codes exist: + 512 - Syntax error in "HSAddress", or "PrivateKeyBlob". + 251 - Client with "PrivateKeyBlob" did not exist. + 3.32. VIEW_ONION_CLIENT_AUTH The syntax is: @@ -1857,6 +1866,9 @@ it's the filename of this client if the credentials are stored in the filesystem. + On success "250 OK" is returned. Otherwise, the following error codes exist: + 512 - Syntax error in "HSAddress". + 3.33. DROPOWNERSHIP The syntax is: |