bls_dkg

Crates.iobls_dkg
lib.rsbls_dkg
version0.10.5
sourcesrc
created_at2020-08-31 10:18:30.192743
updated_at2022-08-09 13:06:12.530098
descriptionImplementation of a DKG
homepagehttps://maidsafe.net
repositoryhttps://github.com/maidsafe/bls_dkg
max_upload_size
id283004
size97,157
David Irvine (dirvine)

documentation

README

BLS DKG

Implementation of a BLS DKG mechanism, requires signing key, encryption key and SocketAddr of participants.

Based on the excellent description as found here. This implementation forces participation and honesty. Therefore it can be used in hostile and friendly environments where m must be <=n. The participant IDs must be sortable to allow all participants to select the same (threshold + 1) t+1 participants in key generation.

The notion is that all participants (p) agree on m (members) of n (total number of members). The participants must be able to renew their encryption key. This will be used in a complain + justification message. That message will prove a participant sent encrypted junk to another member. The member justifying a complaint will have to expose their encryption keypair and also renew it in a single message. This will require a sign(complaint, justification, new encrypt_public_key) message. At this time the DKG is aborted and the complainer or the participant who sent the message will be excluded in the next round. Prior to the next round happening a new participant can be added to maintain a constant number of participants.

This algorithm is synchronous and will require participants are disqualified for sending bad data or being non responsive. The latter is arbitrarily set in this crate, but it can be set by users of the crate.

Documentation MaidSafe website Safe Dev Forum Safe Network Forum

License

This Safe Network library is licensed under the BSD-3-Clause license.

See the LICENSE file for more details.

Contributing

Want to contribute? Great :tada:

There are many ways to give back to the project, whether it be writing new code, fixing bugs, or just reporting errors. All forms of contributions are encouraged!

For instructions on how to contribute, see our Guide to contributing.

Commit count: 157

cargo fmt