[tor-bugs] #19925 [Core Tor/Tor]: SR: Control event to get the shared random values

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 10 12:28:12 UTC 2017


#19925: SR: Control event to get the shared random values
------------------------------------------+--------------------------------
 Reporter:  dgoulet                       |          Owner:  dgoulet
     Type:  enhancement                   |         Status:  needs_review
 Priority:  Medium                        |      Milestone:  Tor:
                                          |  0.3.0.x-final
Component:  Core Tor/Tor                  |        Version:
 Severity:  Normal                        |     Resolution:
 Keywords:  tor-sr, controller, tor-spec  |  Actual Points:
Parent ID:                                |         Points:  3
 Reviewer:                                |        Sponsor:  SponsorR-must
------------------------------------------+--------------------------------

Comment (by dgoulet):

 Replying to [comment:4 asn]:
 > Hello, thanks for the code.
 >
 > The basic idea looks reasonable. Why not also expose the number of
 participants and protocol version? If these are important things to put in
 the consensus, we should also expose them to users of control port.

 We can and we should at some point. Your point below is why I want dead
 simple at first. The main use case for this will be for third part app. to
 use the SR and get it easily instead of grep parsing the consensus.

 I can see something like this as future addition. Actually, it would be
 _trivial_ to add this:

 {{{
 GETINFO sr/current/num-reveals
 250-sr/current/num-reveals=8
 250 OK
 }}}

 >
 > Also, I suggest we move this to 0.3.1. I don't think we should put extra
 code/design/review work for 0.3.0.

 My counter argument here is that SR went in 029 and 030 is the version you
 can get access to it through the control port. Putting that in 031 means
 another 8 months... This isn't a big change to the spec and code, I think
 we can pull it off? Feature freeze for 030 is in 21 days so we still have
 time in theory. :)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19925#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list