Git Product home page Git Product logo

Comments (4)

burdges avatar burdges commented on July 18, 2024

We should implement the Schnorr DLEQ proof as a general signature optimizsation, which then shrinks to BLS, not as some special proof-of-possession tool, and then maybe support using that in the proof-of-possession.

We'll check proofs-of-possession only when starting the node, and once per epoch, so the Schnorr DLEQ proof optimization makes little sense for proofs-of-possession. It makes sense for regular signatures which come all the time however.

We should explore doing some ProofsOfPossession trait but not quite sure how it works actually since it's a property of an entire key infrastructure. It's logical methods look like an iteration over all public keys, BLS signatures, and Schnorr DLEQ proofs, and then some free function checks all these, so the ProofsOfPossession trait itself cannot ensure the ProofsOfPossession were checked, only that users wrote the code to check them.

The problem here is that you cannot really make a trait for users inserting data into their own database.

from bls.

drskalman avatar drskalman commented on July 18, 2024

This is done in 7e2aaa3 but the verification test doesn't pass yet.

from bls.

drskalman avatar drskalman commented on July 18, 2024

Signing problem due to random integer bigger than mod is temproraly solved, but the signature still does not verify.

from bls.

drskalman avatar drskalman commented on July 18, 2024

a8761d8 fixed verification bug do to bogus schnorr formula and zeroing more randomness byte to make deserialize to field works.

from bls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.