[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #5810 [Stem]: Implement verification of server descriptor
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs