11 stable releases (3 major)

3.1.4 Mar 22, 2023
3.1.3 Mar 20, 2023
3.1.2 Feb 1, 2023
3.1.1 Nov 8, 2022
0.1.0 Jul 26, 2022

#213 in Asynchronous

Download history 3/week @ 2024-06-16 4/week @ 2024-06-23 1/week @ 2024-06-30 11/week @ 2024-07-14 5/week @ 2024-07-21 5/week @ 2024-07-28 6/week @ 2024-08-04 1/week @ 2024-08-11 11/week @ 2024-08-25 5/week @ 2024-09-01 14/week @ 2024-09-22 132/week @ 2024-09-29

146 downloads per month
Used in 4 crates (via sn_interface)

MIT license

96KB
1.5K SLoC

sn_sdkg

Synchronous Distributed Key Generation

MaidSafe website Safe Network Forum

About

This Safe Network SDKG module enables sections to create a Section Key without a trusted dealer. It is based on the Audited code from poanetwork's hbbft.

How it works

  • Participants know of each other's bls public key
  • Each create a Part and share it with the others
  • They check each Part and share their Ack over each Part
  • Participants share their set of AllAcks signed, and check that all the others have the same set
  • Once everyone has all the participants signatures over this set they generate the key

We differ from poanetwork's original implementation in that we require total participation: in the Part validation process, we require an Ack from everyone instead of just a threshold amount.

Dependencies

~6MB
~183K SLoC