[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torspec/master] control: Add shared random value to GETINFO



commit e7aaf1448a2dd2037ffc1dd33b6f2ecfaa5ab301
Author: David Goulet <dgoulet@xxxxxxxxxxxxxx>
Date:   Mon Jan 9 11:26:20 2017 -0500

    control: Add shared random value to GETINFO
    
    Signed-off-by: David Goulet <dgoulet@xxxxxxxxxxxxxx>
---
 control-spec.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/control-spec.txt b/control-spec.txt
index 0d08f96..785e28f 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -992,6 +992,14 @@
         digest <Digest> as returned by the downloads/bridge/bridges key.  If
         the Tor process is not using bridges, a 551 error is returned.
 
+    "sr/current"
+    "sr/previous"
+      Get either the current or previous shared random value from the
+      consensus. The values are as seen in the consensus that is base64
+      encoded. An empty value means that it couldn't be found and thus is
+      non-existent in the current consensus the tor daemon has or tor doesn't
+      have a usable consensus.
+
   Examples:
      C: GETINFO version desc/name/moria1
      S: 250+desc/name/moria=



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits