[tor-bugs] #5810 [Stem]: Implement verification of server descriptor
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Nov 23 22:27:17 UTC 2012
#5810: Implement verification of server descriptor
-------------------------+--------------------------------------------------
Reporter: reganeet | Owner: reganeet
Type: enhancement | Status: needs_review
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: descriptors | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Changes (by eoinof):
* status: needs_revision => needs_review
Comment:
I've made the changes we discussed and created a new commit
https://github.com/eoinof/stem/commit/5668385ffd024f9cc2aa910a4ed4d02edc2375fe
Some things to note:
Since the RelayDescriptor now raises an exception with invalid data there
is
some fragile code that may hang. I saw this in some of the threaded calls.
I'll file a separate ticket about it. It will only occur if the data
in descriptor_archive.tar.bz2 were invalid..
The digest function returns a hex value, as these are better if being
passed around.. etc.. but it is not uppercase!
I removed some minor unit tests that no longer made sense.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5810#comment:23>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list