[tor-bugs] #21102 [Core Tor/Stem]: Shared Random Not Parsing Correctly
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Jan 5 18:13:48 UTC 2017
#21102: Shared Random Not Parsing Correctly
---------------------------+------------------------
Reporter: tom | Owner: atagar
Type: defect | Status: closed
Priority: Medium | Milestone:
Component: Core Tor/Stem | Version:
Severity: Normal | Resolution: fixed
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------+------------------------
Changes (by atagar):
* status: new => closed
* resolution: => fixed
Comment:
Thanks for pointing this out!
[https://gitweb.torproject.org/stem.git/commit/?id=a3320773183d02faee9bb137faa5e45571d9c5b9
Fix pushed].
Shared randomness are properties of the DirectoryAuthority class rather
than the header. Votes always have a single authority so here's how you
fetch them...
{{{
for commitment in
vote.directory_authorities[0].shared_randomness_commitments:
print commitment
}}}
Possible I missed something. I'll be using these for #17434 so that should
flush out any further issues. Figured better to push this out earlier than
later though so you could take advantage of it.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21102#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list