[tor-bugs] #26698 [Core Tor/Tor]: Authorities should put a hash of the bandwidth file in their votes
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Nov 7 07:12:18 UTC 2018
#26698: Authorities should put a hash of the bandwidth file in their votes
------------------------------------+----------------------------------
Reporter: teor | Owner: (none)
Type: enhancement | Status: needs_review
Priority: Low | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-crypto tor-dirauth | Actual Points:
Parent ID: #27047 | Points:
Reviewer: | Sponsor:
------------------------------------+----------------------------------
Comment (by teor):
Replying to [comment:8 juga]:
> Replying to [comment:7 teor]:
> > If collector is going to use hexadecimal for the bandwidth file hash,
we should use hexadecimal in the votes. I asked karsten here:
> > https://trac.torproject.org/projects/tor/ticket/21378#comment:17
>
> i asked in IRC why we would encode the hash of a file in base 64 in a
vote and i was told that we don't use raw bytes anymore.
Directory documents never contain raw bytes.
> Searching for "base64" in dir-spec.txt, gives several results, though i
couldn't find a paragraph that would confirm that.
Directory documents only contain printing ASCII characters:
https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n193
Although we allow some other text encodings in the contact and platform
lines.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26698#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list