-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One Round DKG #589
One Round DKG #589
Commits on Aug 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dcc26ec - Browse repository at this point
Copy the full SHA dcc26ecView commit details -
Not quite done yet. It needs to communicate the resulting points and proofs to extract them from the Pedersen Commitments in order to return those, and then be tested.
Configuration menu - View commit details
-
Copy full SHA for db31809 - Browse repository at this point
Copy the full SHA db31809View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49a1831 - Browse repository at this point
Copy the full SHA 49a1831View commit details -
Configuration menu - View commit details
-
Copy full SHA for 772d033 - Browse repository at this point
Copy the full SHA 772d033View commit details -
Make DKG Encryption a bit more flexible
No longer requires the use of an EncryptionKeyMessage, and allows pre-defined keys for encryption.
Configuration menu - View commit details
-
Copy full SHA for b847296 - Browse repository at this point
Copy the full SHA b847296View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6e6880 - Browse repository at this point
Copy the full SHA b6e6880View commit details -
Configuration menu - View commit details
-
Copy full SHA for b710303 - Browse repository at this point
Copy the full SHA b710303View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7710da4 - Browse repository at this point
Copy the full SHA 7710da4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa31f26 - Browse repository at this point
Copy the full SHA fa31f26View commit details -
Inline the eVRF into the DKG library
Due to how we're handling share encryption, we'd either need two circuits or to dedicate this circuit to the DKG. The latter makes sense at this time.
Configuration menu - View commit details
-
Copy full SHA for 96175e1 - Browse repository at this point
Copy the full SHA 96175e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05c26d7 - Browse repository at this point
Copy the full SHA 05c26d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for eca82f3 - Browse repository at this point
Copy the full SHA eca82f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00dc308 - Browse repository at this point
Copy the full SHA 00dc308View commit details -
Finish routing the eVRF functionality
Still needs errors and serialization, along with a few other TODOs.
Configuration menu - View commit details
-
Copy full SHA for ef68885 - Browse repository at this point
Copy the full SHA ef68885View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bd0d71 - Browse repository at this point
Copy the full SHA 4bd0d71View commit details -
Updates how we calculcate verification shares, improves performance when extracting multiple sets of keys, and adds more to the test for it.
Configuration menu - View commit details
-
Copy full SHA for 31ac0ac - Browse repository at this point
Copy the full SHA 31ac0acView commit details -
Configuration menu - View commit details
-
Copy full SHA for c960d6b - Browse repository at this point
Copy the full SHA c960d6bView commit details -
Supports recovering multiple key shares from the eVRF DKG. Inlines two loops to save 2**16 iterations. Adds support for creating a constant time representation of scalars < NUM_BITS.
Configuration menu - View commit details
-
Copy full SHA for f93bd42 - Browse repository at this point
Copy the full SHA f93bd42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 681010f - Browse repository at this point
Copy the full SHA 681010fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6775d7 - Browse repository at this point
Copy the full SHA a6775d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5cc0dc - Browse repository at this point
Copy the full SHA c5cc0dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65efbf4 - Browse repository at this point
Copy the full SHA 65efbf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb7e966 - Browse repository at this point
Copy the full SHA fb7e966View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12f74e1 - Browse repository at this point
Copy the full SHA 12f74e1View commit details -
Finish routing the new key gen in the processor
Doesn't touch the tests, coordinator, nor Substrate yet. `cargo +nightly fmt && cargo +nightly-2024-07-01 clippy --all-features -p serai-processor` does pass.
Configuration menu - View commit details
-
Copy full SHA for 2f564c2 - Browse repository at this point
Copy the full SHA 2f564c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3f0378 - Browse repository at this point
Copy the full SHA d3f0378View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5bf70b - Browse repository at this point
Copy the full SHA b5bf70bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e716c0 - Browse repository at this point
Copy the full SHA 9e716c0View commit details
Commits on Aug 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fc51c9b - Browse repository at this point
Copy the full SHA fc51c9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ed3559 - Browse repository at this point
Copy the full SHA 5ed3559View commit details
Commits on Aug 4, 2024
-
Have set_keys take signature_participants, not removed_participants
Now no one is removed from the DKG. Only `t` people publish the key however. Uses a BitVec for an efficient encoding of the participants.
Configuration menu - View commit details
-
Copy full SHA for 58a435d - Browse repository at this point
Copy the full SHA 58a435dView commit details -
Update the coordinator binary for the new DKG
This does not yet update any tests.
Configuration menu - View commit details
-
Copy full SHA for 54eefbd - Browse repository at this point
Copy the full SHA 54eefbdView commit details
Commits on Aug 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1b76133 - Browse repository at this point
Copy the full SHA 1b76133View commit details -
Have the DKG explicitly declare how to interpolate its shares
Removes the hack for MuSig where we multiply keys by the inverse of their lagrange interpolation factor.
Configuration menu - View commit details
-
Copy full SHA for f08faea - Browse repository at this point
Copy the full SHA f08faeaView commit details -
Replace Interpolation::None with Interpolation::Constant
Allows the MuSig DKG to keep the secret share as the original private key, enabling deriving FROST nonces consistently regardless of the MuSig context.
Configuration menu - View commit details
-
Copy full SHA for 9e8e134 - Browse repository at this point
Copy the full SHA 9e8e134View commit details -
Configuration menu - View commit details
-
Copy full SHA for e74c8f3 - Browse repository at this point
Copy the full SHA e74c8f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ae2883 - Browse repository at this point
Copy the full SHA 2ae2883View commit details
Commits on Aug 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 89fc88b - Browse repository at this point
Copy the full SHA 89fc88bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8912e4 - Browse repository at this point
Copy the full SHA b8912e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8de696f - Browse repository at this point
Copy the full SHA 8de696fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3042697 - Browse repository at this point
Copy the full SHA 3042697View commit details -
Remove bad panic in coordinator
It expected ConfirmationShare to be n-of-n, not t-of-n.
Configuration menu - View commit details
-
Copy full SHA for d943e03 - Browse repository at this point
Copy the full SHA d943e03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c50a31 - Browse repository at this point
Copy the full SHA 8c50a31View commit details -
We now no longer have to support the ridiculous case of having 49 DKG participations within a 101-of-150 DKG. It does remain quite high due to needing to _sign_ so many times. It'd may be optimal for parties with multiple key shares to independently send their preprocesses/shares (despite the overhead that'll cause with signatures and the transaction structure).
Configuration menu - View commit details
-
Copy full SHA for c790efa - Browse repository at this point
Copy the full SHA c790efaView commit details -
Configuration menu - View commit details
-
Copy full SHA for f27fb9b - Browse repository at this point
Copy the full SHA f27fb9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec62930 - Browse repository at this point
Copy the full SHA ec62930View commit details -
Send/Recv Participation one at a time
Sending all, then attempting to receive all in an expected order, wasn't working even with notable delays between sending messages. This points to the mempool not working as expected...
Configuration menu - View commit details
-
Copy full SHA for e9d09ef - Browse repository at this point
Copy the full SHA e9d09efView commit details -
Configuration menu - View commit details
-
Copy full SHA for dbf32d5 - Browse repository at this point
Copy the full SHA dbf32d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01de73e - Browse repository at this point
Copy the full SHA 01de73eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 470b5f7 - Browse repository at this point
Copy the full SHA 470b5f7View commit details
Commits on Aug 12, 2024
-
Correct construction of signature_participants in serai-client tests
Fault identified by akil.
Configuration menu - View commit details
-
Copy full SHA for 756db82 - Browse repository at this point
Copy the full SHA 756db82View commit details
Commits on Aug 14, 2024
-
Further contextualize DkgConfirmer by ValidatorSet
Caught by a safety check we wouldn't reuse preprocesses across messages. That raises the question of we were prior reusing preprocesses (reusing keys)? Except that'd have caused a variety of signing failures (suggesting we had some staggered timing avoiding it in practice but yes, this was possible in theory).
Configuration menu - View commit details
-
Copy full SHA for 0fe7360 - Browse repository at this point
Copy the full SHA 0fe7360View commit details
Commits on Aug 15, 2024
-
Add necessary calls to set_embedded_elliptic_curve_key in coordinator…
… set rotation tests
Configuration menu - View commit details
-
Copy full SHA for 843396f - Browse repository at this point
Copy the full SHA 843396fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f1fcff - Browse repository at this point
Copy the full SHA 5f1fcffView commit details -
Configuration menu - View commit details
-
Copy full SHA for e098369 - Browse repository at this point
Copy the full SHA e098369View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bc746e - Browse repository at this point
Copy the full SHA 6bc746eView commit details -
Don't use
[0; 32]
for the embedded keys in the coordinator rotation…… test The key_gen function expects the random values already decided.
Configuration menu - View commit details
-
Copy full SHA for 35c54da - Browse repository at this point
Copy the full SHA 35c54daView commit details -
Also restores the prior, safer, Encryption::register function.
Configuration menu - View commit details
-
Copy full SHA for 1f093cf - Browse repository at this point
Copy the full SHA 1f093cfView commit details