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

Experimental ECC threshold decryption to replace PBC threshold decryption #45

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Vagabond
Copy link
Contributor

@Vagabond Vagabond commented May 8, 2019

This is currently experimental. It replaces the threshold decryption with a combination of Shamir's secret sharing of an AES key and ECC signatures/encryption over the key shares.

There's a lot to do before this can merge:

  • Make all the tests pass
  • Make this scheme optional and restore the old threshold decryption
  • Use a Key Derivation Function like HKDF to strengthen the ECDH keys
  • Consider adding an extra 'key reveal' message if a node has enough correct shares to decrypt (to avoid a poison share preventing some nodes from decrypting)
  • Profile it to look for further optimizations

@Vagabond Vagabond requested review from evanmcc and vihu May 8, 2019 21:40
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