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

Batch encryption not doing ballot chaining. #395

Open
JohnLCaron opened this issue Oct 11, 2023 · 1 comment
Open

Batch encryption not doing ballot chaining. #395

JohnLCaron opened this issue Oct 11, 2023 · 1 comment

Comments

@JohnLCaron
Copy link
Collaborator

Currently we are not writing the ballot chaining when batch encrypting, onlt ehwn calling encryption one at a time with AddEncryptedBallot.

This is caught by the Verifier at step 7:
verifyConfirmationChain Err(readEncryptedBallotChain path 'testOut/cliWorkflow/electionRecord/encrypted_ballots/device42/ballot_chain.json' does not exist)

Seem like we can have batch encryption put AddEncryptedBallot into a single thread and call it.
The main cost is the encryption, so those need to stay multithreaded.

@JohnLCaron
Copy link
Collaborator Author

The problem is that we need the previous confirmation code before we can start the next one.

I could imagine that we have n chains going at once. For very large batches, it would make sense to limit the size of the chain.

So im leaving this one alone for now.

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