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

Shuffle verification #1255

Merged

Conversation

danielmasny
Copy link
Collaborator

builds on top of #1253, #1249 and #1246.

We should first merge those before reviewing this PR.

Copy link

codecov bot commented Sep 4, 2024

Codecov Report

Attention: Patch coverage is 93.23671% with 14 lines in your changes missing coverage. Please review.

Project coverage is 92.30%. Comparing base (adcd8dd) to head (b7194fe).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
ipa-core/src/protocol/ipa_prf/shuffle/malicious.rs 92.92% 14 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main    #1255    +/-   ##
========================================
  Coverage   92.29%   92.30%            
========================================
  Files         200      201     +1     
  Lines       31577    31784   +207     
========================================
+ Hits        29143    29337   +194     
- Misses       2434     2447    +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@akoshelev akoshelev left a comment

Choose a reason for hiding this comment

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

good stuff, I think we should definitely write a test to validate malicious behavior (hopefully the existing framework makes it easy)

}

#[cfg(all(test, unit_test))]
mod tests {
Copy link
Collaborator

Choose a reason for hiding this comment

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

is there anything that prevents us from adding a test that ensures cheaters are caught?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ipa-core/src/protocol/ipa_prf/shuffle/malicious.rs Outdated Show resolved Hide resolved
ipa-core/src/protocol/ipa_prf/shuffle/malicious.rs Outdated Show resolved Hide resolved
ipa-core/src/protocol/ipa_prf/shuffle/malicious.rs Outdated Show resolved Hide resolved
ipa-core/src/protocol/ipa_prf/shuffle/malicious.rs Outdated Show resolved Hide resolved
@danielmasny danielmasny merged commit c857eb2 into private-attribution:main Sep 6, 2024
12 checks passed
@danielmasny danielmasny deleted the shuffle-verification branch September 6, 2024 23:34
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