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

Using cross-shard shared data in sharded protocols #1418

Open
akoshelev opened this issue Nov 8, 2024 · 0 comments
Open

Using cross-shard shared data in sharded protocols #1418

akoshelev opened this issue Nov 8, 2024 · 0 comments

Comments

@akoshelev
Copy link
Collaborator

Sharding the Hybrid protocol demonstrated that there exist more than one place where shards require coordinated randomness or shared data. For example: malicious shuffle requires shared MAC keys to properly shuffle inputs across many shards. Same goes for OPRF computation - all shards require access to the same key to mask values and produce consistent OPRF value across many shards.

While this problem was solved in #1394 by distributing keys from the leader shard and later attempted to be solved for PRF in #1408 by doing the same, it is not 100% clear where this method is actually secure. Yes, the threat model assumes shards can see each other's data, but the implications of sending secret data over network have never been properly analysed.

Note that to avoid code duplication and errors implementing custom key exchanges, we steered towards vending a shared PRSS (#1410) instance to protocols but it may have the same security issue as it requires key exchange. Although it may be easier to fix in one place

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

No branches or pull requests

1 participant