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

nickm at torproject.org nickm at torproject.org
Wed Jan 11 19:38:05 UTC 2017


commit e7aaf1448a2dd2037ffc1dd33b6f2ecfaa5ab301
Author: David Goulet <dgoulet at torproject.org>
Date:   Mon Jan 9 11:26:20 2017 -0500

    control: Add shared random value to GETINFO
    
    Signed-off-by: David Goulet <dgoulet at torproject.org>
---
 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=





More information about the tor-commits mailing list