Hello atagar,
I'm starting this thread to ask you questions about stem and the HSv3
work we've been doing over email so that we don't do it over IRC.
Here is an initial question:
I'm working on HSv3 descriptor encoding, and I'm trying to understand
how `_descriptor_content()` works. In particular, I want to compute the
signature of a descriptor, but I see that `descriptor_content()`
fills it with random bytes in all the `content()` methods I managed
to find:
('signature', _random_crypto_blob('SIGNATURE')),
What's the right way to compute the signature for such objects? In
particular, I would need a method that first generates the whole
descriptor body, and then computes the signature of that with a given
private key.
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?
Thanks! :)