poanetwork / hbbft

An implementation of the paper "Honey Badger of BFT Protocols" in Rust. This is a modular library of consensus.
Other
357 stars 96 forks source link

Make non-threshold cryptography generic? #406

Open afck opened 5 years ago

afck commented 5 years ago

We currently use threshold_crypto's BLS keys for signing some messages in DHB, and for encrypting some fields of the SyncKeyGen messages. However, in many use cases, nodes already have some other type of key anyway, and giving them a BLS key in addition is redundant. Would it be feasible to make the keys for signing and encrypting generic?