#public-key #consensus #threshold-signature #safe-network #threshold #generate-keys

sn_sdkg

Safe Network Synchronous Distributed Key Generation: enables dealerless section key generation

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

#152 in Asynchronous

Download history 4/week @ 2024-08-07 4/week @ 2024-08-21 12/week @ 2024-08-28 5/week @ 2024-09-18 10/week @ 2024-09-25 9/week @ 2024-10-02

3,571 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
~182K SLoC