[tor-dev] [tor-assistants] Python metrics-lib
sc28 at rice.edu
sc28 at rice.edu
Sun May 6 01:02:21 UTC 2012
Hi Karsten & Damian,
Extending stem to implement #2768 seems a good option to start with; I
looked at the Java code and felt doing it in stem should not be
complicated. However, I need some suggestions for the choice of Python
cryptography API, since I haven't used any before. A simple Google
search says PyCrypto. I believe you have an answer, Damian.
Quoting Karsten Loesing <karsten at torproject.org>:
> [Moving this thread to tor-dev as suggested by Damian in separate mail.]
> Hi Damian, hi Beck,
> There are quite a few options.
> How about extending stem to implement #2768? There's already Java code
> for verifying server descriptors and consensuses in metrics-tasks.git
> . On stem's side this requires parsing the crypto parts of server
> descriptors, consensuses, and certificates. If the network statuses
> aren't there yet, starting with server descriptors should be fine. And
> once there's verification code for server descriptors and consensuses,
> there are more things to verify in Tor's various descriptors.
> Another option would be to write the parsing code for extra-info
> descriptors including all the stats. Once we have consensuses, server
> descriptors, and extra-info descriptors in stem, we can start writing a
> Python version of Onionoo , the service that provides the data for
> Atlas .
> Let me know if you need more options or more input on these.
>  https://gitweb.torproject.org/metrics-tasks.git/tree/HEAD:/task-2768
>  https://www.torproject.org/projects/onionoo.html.en
>  https://atlas.torproject.org/
More information about the tor-dev