[tor-bugs] #25046 [Core Tor/Stem]: reveal_count incorrect in stem

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jan 27 05:47:35 UTC 2018


#25046: reveal_count incorrect in stem
-------------------------------+--------------------
     Reporter:  tom            |      Owner:  atagar
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Core Tor/Stem  |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+--------------------
 I am stem master, commit b2c8810dc94b0e2e62c0e482158de3d33504a709 Sat Jan
 20 17:53:41 2018 -0800

 {{{
 ยป python
 Python 2.7.10 (default, Jul 15 2017, 17:16:57)
 [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import stem.descriptor.remote
 >>>
 >>> downloader = stem.descriptor.remote.DescriptorDownloader(
 ...     timeout = 60,
 ...     fall_back_to_authority = False,
 ...     document_handler = stem.descriptor.DocumentHandler.DOCUMENT,
 ... )
 >>> query = downloader.query('/tor/status-vote/current/consensus',
 default_params = False)
 >>> d = query.run()
 >>> d
 [<stem.descriptor.networkstatus.NetworkStatusDocumentV3 object at
 0x10aa8ea10>]
 >>> c = d[0]
 >>> c.shared_randomness_current_reveal_count
 >>> c.shared_randomness_previous_reveal_count
 >>> c.shared_randomness_current_value
 u'vLbCqI2m02UXzOUYtSMPWxC/QUSXSw0mrOBNyBCGtcE='
 >>> c.shared_randomness_previous_value
 u'2xFM9tuS7c84CfE2OIURwJjh/XYop/tQoQD70DBBJNA='
 }}}

 Previously these values... had values. But now it appears they're not
 being populated?  The documentation is a little fuzzy, but can you confirm
 they are intentionally not being populated anymore, even though they
 appear in the consensus?

 {{{
 shared-rand-previous-value 9 2xFM9tuS7c84CfE2OIURwJjh/XYop/tQoQD70DBBJNA=
 shared-rand-current-value 9 vLbCqI2m02UXzOUYtSMPWxC/QUSXSw0mrOBNyBCGtcE=
 }}}

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


More information about the tor-bugs mailing list