Re: [tor-dev] New python Tor client implementation

2019-10-17 Thread Damian Johnson
Thanks James, this is awesome! Very well done. Out of curiosity why sidestep any use of Stem? It supports encoding/decoding most tor cell types... Yours: https://github.com/torpyorg/torpy/blob/master/torpy/cells.py Mine: https://gitweb.torproject.org/stem.git/tree/stem/client/cell.py If you'd

Re: [tor-dev] HSv3 descriptor work in stem

2019-10-17 Thread Damian Johnson
Thanks George! Yup, work on that branch is in progress: https://gitweb.torproject.org/user/atagar/stem.git/log/?h=hsv3 On Thu, Oct 17, 2019 at 8:01 AM George Kadianakis wrote: > > Damian Johnson writes: > > >>Can I use `_descriptor_content()` to do that? Or should I call > >>

Re: [tor-dev] HSv3 descriptor work in stem

2019-10-17 Thread George Kadianakis
Damian Johnson writes: >>Can I use `_descriptor_content()` to do that? Or should I call >>`_descriptor_content()` to generate the whole thing _without_ the >>sig, and then do the signature computation on its result and >>concatenate it after? > > Hi George. Yup, to create a

[tor-dev] New python Tor client implementation

2019-10-17 Thread James Brown
Hello all, Recently I finished a pure python implementation of the Tor client. It's called torpy (https://github.com/torpyorg/torpy). It offers handy API, supports v2 hidden services with "basic" and "stealth" authorization protocol. Works with python 3.6+.It has no dependencies on the original C