
2 Oct
2019
2 Oct
'19
6:52 p.m.
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_descripto... https://gitweb.torproject.org/stem.git/tree/stem/descriptor/__init__.py#n138... Will this do the trick? PS. Sorry about the duplicate. Hit reply rather than reply-all forgetting that you included the list.