[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #6257 [Stem]: Bump to @type bridge-extra-info 1.1
#6257: Bump to @type bridge-extra-info 1.1
---------------------+------------------------------------------------------
Reporter: karsten | Owner: atagar
Type: defect | Status: new
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: | Parent:
Points: | Actualpoints:
---------------------+------------------------------------------------------
#4957 adds a new `transport` line to sanitized bridge extra-info
descriptors, e.g.,
{{{
transport obfs2
transport obfs3
}}}
I think we'll have to bump the version number for these descriptors from
1.0 to 1.1. Even though 1.0 parsers won't understand this line, they
shouldn't break. Therefore the new version should be 1.1, not 2.0.
However, both metrics-lib and stem look for `"1.0"` as the version number
and won't parse 1.1 descriptors at all. See:
{{{
stem/stem/descriptor/__init__.py: elif first_line in ("@type bridge-
extra-info 1.0"):
}}}
I'll update metrics-lib very soon. Once stem is updated, too, I'll make
metrics-db produce 1.1 descriptors.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6257>
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