[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #26698 [Core Tor/Tor]: Authorities should put a hash of the bandwidth file in their votes



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs