Accessing Shared Random Values as a Protocol on top of Tor

Hi, I'm wondering if I can access the shared random value[1] while developing a protocol/application on top of Tor onion services. The application is still in early development, but it would be great if I could depend on the shared random value. If this is not the correct mailing list for this question, I would be glad if you could point me to one. --Sebastian [1]: PUB-SHAREDRANDOM in https://gitweb.torproject.org/torspec.git/tree/rend-spec-v3.txt

On 29 Oct (23:56:07), Sebastian Hoffmann wrote:
Hi,
I'm wondering if I can access the shared random value[1] while developing a protocol/application on top of Tor onion services. The application is still in early development, but it would be great if I could depend on the shared random value.
If this is not the correct mailing list for this question, I would be glad if you could point me to one.
You can through the ControlPort with: "GETINFO sr/current" "GETINFO sr/previous" From control-spec.txt: "sr/current" "sr/previous" The current or previous shared random value, as received in the consensus, base-64 encoded. An empty value means that either the consensus has no shared random value, or Tor has no consensus. Cheers! David -- PyBJTQkt8p8BjnK5Ab+oFbVk2ILMK5Ty/Hz4v9WU/+4=
participants (2)
-
David Goulet
-
Sebastian Hoffmann