39 releases
0.10.5 | Aug 9, 2022 |
---|---|
0.10.4 | Jul 21, 2022 |
0.10.3 | Jun 14, 2022 |
0.10.0 | Mar 22, 2022 |
0.2.2 | Nov 18, 2020 |
#4 in #dkg
Used in 3 crates
75KB
1.5K
SLoC
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 🎉
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.
Dependencies
~7MB
~202K SLoC