bls
bls copied to clipboard
Aggregatable BLS sigantures
Implementing Chaum Pederson Signature for fast single BLS signature verification.
Tests for `BeefyECDSAKeystore` should also be adapted to `BeefyECDSAandBLSKeystore` or the should become generic so can be run for both (or all three keystores).
- Adapting the new arkworks frame work. - fixing hacks and using from_be_bytes_mod_order. - Using compressed serialized and new test for it. - Pass All tests
Currently happening at https://github.com/drskalman/substrate/blob/skalman-bls-beefy/client/beefy/src/keystore.rs#L77 It only support signing ecdsa signature. However, in the case, where beefy message is also going to contain a single aggregated signature, this need to be...
Not being resistant to side-channel attacks is a bug.
Most code from this library uses the text "ctx" although the README uses "Some context" and the `From` impl for `Message` uses a blank string. It seems like the string...
`worker.rs` currently only using BeefyKeystore to carry out crypto tasks, however in the new structure `BeefyKeystore` is only a trait now and the worker either need to instiate `BeefyECDSAKeystor` or...
According to https://github.com/paritytech/substrate/pull/10466#issuecomment-1144648900 BLS signatures because they can be aggregated, they should be treated differently rather than put in the vector of validator signatures. This issue intends to add an...
#47 depends on application crypto which on its turn depends on [host api](https://github.com/drskalman/substrate/blob/skalman-bls-beefy/primitives/io/src/lib.rs) providing the following functions ``` sp_io::crypto::{ bls_public_keys(key_type), bls_generate(key_type, seed) bls_sign(key_type, self, msg.as_ref()) bls_verify(&signature, msg.as_ref(), self)} ``` which...
Substrate requires a crypto type similar to: https://github.com/paritytech/substrate/blob/master/primitives/application-crypto/src/ecdsa.rs to be able to instantiate a signer for beefy capable of bls sigining. Implementing such crypto types help implementers to kick off...