Election-Tech-Initiative / electionguard-python

A python module implementing the ElectionGuard specification. This implementation can be used to conduct End-to-End Verifiable Elections as well as privacy-enhanced risk-limiting audits.
https://www.electionguard.vote/
MIT License
162 stars 96 forks source link

💻. Add Config Options to CLI Election Setup #614

Open keithrfung opened 2 years ago

keithrfung commented 2 years ago

Is there an existing issue for this?

Suggestion

During the setup phase of the CLI when starting an election, there are several inputs requested to begin creating the context for the encryption aka the CiphertextElectionContext.

https://github.com/microsoft/electionguard-python/blob/f0d6f01400d2e71feb7cc1e51af64aa202fa9097/src/electionguard/election.py#L16-L28

Possible Implementation

This implementation should likely add two lines that would prompt and ask for the settings.

Are over votes allowed within the system? Yes/No

What are the maximum number of ballots being encrypted? Estimate high, Max 10,000,000 Take input for max_ballots

There may be additional settings so be sure to keep up with the Config when taking this task.

Anything else?

No response

ikechigriffith commented 1 year ago

Hey @keithrfung. Can you assign this to me?