Re: [tor-dev] [tor-assistants] Python metrics-lib

2012-05-13 Thread Beck Chen
Hi Karsten & Damian, I've been trying to port function determineKeyHash() from VerifyDescriptors.java to stem, and it turned out to be more complicated than I thought due to my unfamiliarity to many cryptography terms and standards. I finally figured out a way to do it by using a light-weighted li

Re: [tor-dev] [tor-assistants] Python metrics-lib

2012-05-13 Thread Ravi Chandra Padmala
> PSS. Do we need to keep Ravi in this conversation? Nah, I'm good. I'm spectating on tor-dev anyway. -- neena ___ tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev

Re: [tor-dev] [tor-assistants] Python metrics-lib

2012-05-13 Thread Damian Johnson
Hi Beck. Unfortunately at this point you know far more about descriptor crypto than me so I won't be much help. A quick search in apt for 'pkcs' only came up with one python result, PyKCS11 (http://www.bit4id.org/trac/pykcs11), which looks to be mostly related to smartcards. Hopefully Karsten will

Re: [tor-dev] [tor-assistants] Python metrics-lib

2012-05-13 Thread Damian Johnson
>> PS. Are you guys getting email updates from ticket #5810? I'm doubting >> that you two are not actually CCed since no one is replying... > > Yes. Both Karsten and I are subscribed to tor-bugs@ so we see all trac > updates. Oh, and I should add that I didn't reply to your last post because it s

Re: [tor-dev] [tor-assistants] Python metrics-lib

2012-05-13 Thread Damian Johnson
> It seems that PKCS#1 is the final answer, but Quick question, if it is PKCS1 that we need then will the pycrypto package do the trick? It looks like PKCS1 support is pretty new for it, but the package itself is generally available by default. See the last comment on... https://bugs.launchpad.net

Re: [tor-dev] Thandy and what's next

2012-05-13 Thread Tomás Touceda
On 5/3/12 11:40 AM, Runa A. Sandvik wrote: > On Wed, May 2, 2012 at 3:33 AM, Tomás Touceda wrote: >> tldr; everything is there, it works and it probably has bugs, we need to >> deploy and see. > > How about sending a list to tor-dev with information about how to > test, and where to file bugs? I'

Re: [tor-dev] [tor-assistants] Python metrics-lib

2012-05-13 Thread Damian Johnson
Hi Karsten, hi Beck. Just pushed stem support for extrainfo descriptors (ye gods they have a lot of attributes)... * Implementation https://gitweb.torproject.org/stem.git/blob/HEAD:/stem/descriptor/extrainfo_descriptor.py * Unit Tests https://gitweb.torproject.org/stem.git/blob/HEAD:/test/unit/de

Re: [tor-dev] [tor-assistants] Python metrics-lib

2012-05-13 Thread Karsten Loesing
Hi Beck, I don't have good answers to your questions. To be honest, when I implemented the Java verification code for #2768, I looked for hints in an old Java version of Tor, rewrote that code, updated it for current BouncyCastle versions using their JavaDocs and examples, and tweaked everything