-
Notifications
You must be signed in to change notification settings - Fork 86
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
refactor!: expose random public parameter generation #207
Merged
Dustin-Ray
merged 2 commits into
main
from
refactor/random-g1-vecs-for-public-parameters
Oct 3, 2024
Merged
refactor!: expose random public parameter generation #207
Dustin-Ray
merged 2 commits into
main
from
refactor/random-g1-vecs-for-public-parameters
Oct 3, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dustin-Ray
changed the title
refactor: random g1 vecs for public parameters
refactor: random G1 and G2 vecs for public parameters
Oct 2, 2024
Dustin-Ray
changed the title
refactor: random G1 and G2 vecs for public parameters
refactor: expose random G1 and G2 vec method for public parameters
Oct 2, 2024
Dustin-Ray
force-pushed
the
refactor/random-g1-vecs-for-public-parameters
branch
from
October 2, 2024 20:54
261cc7d
to
b9d5aba
Compare
Dustin-Ray
commented
Oct 2, 2024
crates/proof-of-sql/src/proof_primitive/dory/public_parameters.rs
Outdated
Show resolved
Hide resolved
Dustin-Ray
commented
Oct 2, 2024
crates/proof-of-sql/src/proof_primitive/dory/public_parameters.rs
Outdated
Show resolved
Hide resolved
Dustin-Ray
force-pushed
the
refactor/random-g1-vecs-for-public-parameters
branch
2 times, most recently
from
October 2, 2024 23:24
ea42e51
to
78b4c33
Compare
Dustin-Ray
commented
Oct 3, 2024
Dustin-Ray
force-pushed
the
refactor/random-g1-vecs-for-public-parameters
branch
from
October 3, 2024 04:29
fc883da
to
86791dc
Compare
Dustin-Ray
changed the title
refactor: expose random G1 and G2 vec method for public parameters
refactor: expose random public parameter generation
Oct 3, 2024
Dustin-Ray
force-pushed
the
refactor/random-g1-vecs-for-public-parameters
branch
2 times, most recently
from
October 3, 2024 04:33
0ffe3df
to
f4264d7
Compare
JayWhite2357
reviewed
Oct 3, 2024
crates/proof-of-sql/src/proof_primitive/dory/public_parameters.rs
Outdated
Show resolved
Hide resolved
Dustin-Ray
changed the title
refactor: expose random public parameter generation
refactor!: expose random public parameter generation
Oct 3, 2024
… sxt-db fmt revert function name change rand impl for public parameters refactor fix! rename rand functions test feature flag
Dustin-Ray
force-pushed
the
refactor/random-g1-vecs-for-public-parameters
branch
from
October 3, 2024 04:57
f7c5f97
to
644022e
Compare
JayWhite2357
approved these changes
Oct 3, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
🎉 This PR is included in version 0.26.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rationale for this change
If PublicParameters are generated within sxtDB and not an argument passed in via protobuf, then we need a way to randomly generate the setup within external crates such as sxtdb. This PR exposes a trait bounded method requiring a CSRNG which generates the public parameters securely.
What changes are included in this PR?
test_rand
Are these changes tested?
existing tests pass