Comments (6)
Sorry to chase you around :) but just a quick note: the hash-to-curve impl is in https://github.com/kwantam/bls_sigs_ref/. (My fork of the pairing crate just adds a feature that (effectively) exposes the constructors for the low-level point representations.)
from bls.
Ideally we should increase the compliance with the IRTF CFRG drafts for BLS signatures and hash-to-curve throughout, without doing anything silly like using SHA2-HMACs everywhere.
from bls.
Depends on what you mean by silly 😄
At the least it's sensible to try and make sure that whatever hash function to the base field you decide to use has an indifferentiability proof in some reasonable model. Hash-to-curve is adding (very barebones) support for defining alternative hash-to-base functions in the next draft. KMAC and cSHAKE both look like they'd work if you want to use a SHA-3--ish function, and Blake2X-on-Blake2b also looks like it could work.
I'm happy to give feedback on whatever you land on.
edit:
more flexibility than the standard, like permitting signatures on either group.
I'm sure you know this by now, but the most recent version of the BLS document supports signatures on both groups.
from bls.
Appears the IETF working draft is https://github.com/pairingwg/bls_standard/blob/master/minutes/spec-v1.md not the version on the webpage.
from bls.
I'm interested in aligning with https://github.com/kwantam/bls_sigs_ref as much as possible, although I obviously want to provide more flexibility than the standard, like permitting signatures on either group. See also https://github.com/algorand/bls_sigs_ref
I suppose the hashing functionality could be relegated to some trait that supported both STROBE and conventional hash functions, as BLS has no need for the superior domain separation of STROBE.
from bls.
Thanks! I'll attempt to catch back up on this eventually, but not anytime this month I fear.
from bls.
Related Issues (20)
- clean up the depenedancy so they are compatible with substrate HOT 2
- Implement Canonical De/Serialize for SecretKey HOT 1
- Alter the BEEFY structure to have only one aggergated BLS signature HOT 1
- Implement bls signature related functions for (substrate) host API
- Enable BEEFY Keystore to produce BLS signature HOT 2
- Reverse beefy messages to only support unaggregated BLS signatures in Beefy HOT 2
- Implement missing bls function for LocalKeystore HOT 1
- modify `client/beefy/src/worker.rs` to use either ECDSA or BLSnECDSA keystores
- How is `context` meant to be used when creating a new `Message`?
- Make ValidatorSet generic over public key type HOT 3
- Update BLS library to Pairing and Serialization changes HOT 3
- make thread_rng optional on std feature HOT 1
- Write test for BeefyECDSAandBLSKeystore HOT 1
- Implement Chaum Pederson Signature for Keypair HOT 2
- Make `keystore_vs_validator_set` test generic over the keystore HOT 4
- Clean up hash to curve branch and merge it with master HOT 1
- Expose Double Public Key scheme HOT 2
- Implement Serialization for `Double` Schemes HOT 1
- Spec BLS Signature
- Implement `ZeroizeOnDrop` for `SecretKeyVT`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bls.