[tor-dev] HSv3 descriptor work in stem

Damian Johnson atagar at torproject.org
Thu Oct 17 21:07:53 UTC 2019


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 <desnacked at riseup.net> wrote:
>
> Damian Johnson <atagar at torproject.org> 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 signed descriptor we create the bulk of
> > the content then append the signature. Server and extrainfo
> > descriptors already do this so I suspect you can do something
> > similar...
> >
> > https://gitweb.torproject.org/stem.git/tree/stem/descriptor/server_descriptor.py#n902
> > https://gitweb.torproject.org/stem.git/tree/stem/descriptor/__init__.py#n1388
> >
> > Will this do the trick?
> >
> > PS. Sorry about the duplicate. Hit reply rather than reply-all
> > forgetting that you included the list.
>
> Thanks for the reply Damian! That was super useful!
>
> The current state of affairs can be found here: https://trac.torproject.org/projects/tor/ticket/31823#comment:1
> (just in case you didn't check IRC that day)
>
> peace


More information about the tor-dev mailing list