[tor-bugs] #15157 [Tor]: Spec issues with consensus' new 'package' field
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Mar 4 16:30:51 UTC 2015
#15157: Spec issues with consensus' new 'package' field
--------------------+---------------------
Reporter: atagar | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: Tor | Version:
Keywords: | Actual Points:
Parent ID: | Points:
--------------------+---------------------
Hi Nick. Brought these up on irc but moving to a ticket. Our consensus'
new unused
[https://gitweb.torproject.org/torspec.git/commit/?id=ab6453476066fd1bf5c8cb577863c0cdd5079e0f
packages field] has some spec issues...
* It isn't very future proof. It's fine for now, but I'm not sure how it
could validly have new attributes in the future.
* Presently it necessitates at least one DIGEST entry. Think that's
probably a mistake.
* 'one or more non-=, non-" " characters' => That's too imprecise. For
instance, it allows newlines which I'm sure wouldn't really be valid.
* It would be nice if it said if a DIGESTTYPE can appear multiple times.
I'd like to model this as a hash but I'm not sure if DIGESTTYPE are
unique.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15157>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list