maidsafe / bls_dkg

Implementation of a BLS DKG mechanism, requires signing key, encryption key and SocketAddr of participants
BSD 3-Clause "New" or "Revised" License
21 stars 17 forks source link

`Outcome` Should include index. #100

Closed davidrusu closed 2 years ago

davidrusu commented 2 years ago

Is your feature request related to a problem? Please describe. When working with BLS keys it's necessary to keep track of the secret share index. BLS signatures need the index of the secret share that signed them when they are combined to form the final aggregate secret key.

Describe the solution you'd like I'd like the Outcome struct to include our index as I don't want to keep the key generator around after I've finished creating the key.

Describe alternatives you've considered Alternatives are querying the key generator for the index, but as I mentioned, once I have an outcome, I want to throwaway the key generator.