Open conradoplg opened 3 months ago
I realized there is a chicken-and-egg problem regarding the second approach to alpha handling:
So it seems the "FROST alpha generation" can't be used.
please edit:
please edit: Allow creating a FullViewingKey from a given SpendValidatingKey. The other components can be randomly generated, but there may be some utility in specifying them too. Locally I did this by adding a FullViewingKey::from_sk_ak(sk: &SpendingKey, ak: SpendValidatingKey) method, but not sure what is the best approach.
I've updated our signing tool to the latest ECC crates and mapped out the API changes that are required in this crate:
FullViewingKey::from_sk_ak(sk: &SpendingKey, ak: SpendValidatingKey)
method, but not sure what is the best approach.UnifiedFullViewingKey
from aFullViewingKey
. Done in https://github.com/zcash/librustzcash/pull/1478alpha()
getter toSigningParts
(also addedak()
getter which is useful to sanity check if I'm accessing the rightSigningParts
). The latter would be more complicated and would require passing the alphas inBuilder::build()
(which is awkward) or doing some refactoring.My intention is to spark discussion on these API changes but let me know if you'd prefer individual tickets for each of those. I can also create PRs if you're happy with the proposed APIs or can also create PRs with other APIs you suggest.