Skip to content
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

feature/pedersen-commitments #1048

Merged
merged 55 commits into from
Mar 11, 2022

Conversation

danielementary
Copy link
Contributor

Replace original ElGamal encryption with Pedersen commitments for blind signatures.

@danielementary danielementary marked this pull request as ready for review January 19, 2022 09:10
Copy link
Contributor

@jstuczyn jstuczyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't really say anything about the correctness of the crypto itself, but I assume you and @aniampio verified it's correct.

There's couple of tiny changes that you might (or not) want to introduce.

Also, since it changes how our coconut works, do we want to be merging that into develop or should we keep it in separate branch? @futurechimp @mmsinclair ? Perhaps we could still merge it since coconut is not really used anywhere just yet?

common/nymcoconut/src/elgamal.rs Show resolved Hide resolved
common/nymcoconut/src/proofs/mod.rs Show resolved Hide resolved
common/nymcoconut/src/proofs/mod.rs Outdated Show resolved Hide resolved
common/nymcoconut/src/scheme/issuance.rs Outdated Show resolved Hide resolved
common/nymcoconut/src/scheme/keygen.rs Show resolved Hide resolved
common/nymcoconut/src/scheme/verification.rs Outdated Show resolved Hide resolved
@jstuczyn jstuczyn linked an issue Jan 24, 2022 that may be closed by this pull request
common/nymcoconut/src/proofs/mod.rs Show resolved Hide resolved
common/nymcoconut/src/scheme/mod.rs Outdated Show resolved Hide resolved
@aniampio aniampio requested a review from neacsu March 10, 2022 18:15
Copy link
Contributor

@neacsu neacsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall. Is there something specific that needs to be done when generating keys, using for example https://github.com/nymtech/coconut/tree/develop/keygen-cli ?

common/nymcoconut/src/scheme/keygen.rs Outdated Show resolved Hide resolved
@aniampio aniampio merged commit c7cdd1e into nymtech:develop Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Coconut]: Replace ElGamal with Pedersen commitments
4 participants