8000 Further pyclient types and refactoring by dtebbs · Pull Request #127 · clearmatics/zeth · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Further pyclient types and refactoring #127

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

Merged
merged 16 commits into from
Dec 13, 2019
Merged

Conversation

dtebbs
Copy link
Contributor
@dtebbs dtebbs commented Nov 20, 2019

Preparation for exposing zeth functionality as CLI tools.

  • Big refactor of tests into calls to a single "joinsplit()' operation.
  • Stricter types.
  • Some naming more consistent with Zet paper

The cli tools are not complete, but this is a good place to merge, to avoid branches diverging too much.

@dtebbs dtebbs force-pushed the pyclient-refactor branch 2 times, most recently from 87f9b41 to 1099076 Compare November 22, 2019 14:52
hash_ciphers: str,
hash_proof: str,
hash_inputs: str) -> int:
def _sign(
Copy link
Contributor
@AntoineRondelet AntoineRondelet Dec 12, 2019

Choose a reason for hiding this comment

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

This needs to be moved to signing.py which should contain all the algorithms of the signature scheme we use. Namely, Sign(sk, msg) (returns sigma), Verify(vk, sigma, msg) (return 0/1), KeyGen(\secparam) (returns sk, vk).

Thus, the signature of the function _sign above needs to be modified (cc: @rrtoledo as this is related to the thread:#122 (comment))

@AntoineRondelet AntoineRondelet merged commit 0c16ee4 into develop Dec 13, 2019
AntoineRondelet added a commit that referenced this pull request Dec 13, 2019
Fixing non-malleability vulnerability (depends on #127)
@rrtoledo rrtoledo deleted the pyclient-refactor branch January 29, 2020 09:55
AntoineRondelet added a commit that referenced this pull request May 6, 2020
Further pyclient types and refactoring
AntoineRondelet added a commit that referenced this pull request May 6, 2020
Fixing non-malleability vulnerability (depends on #127)
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.

2 participants
0