Election-Tech-Initiative / Election-Tech-Initiative/electionguard-python

💻. Add Config Options to CLI Election Setup

未关闭
#614 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement hacktoberfest help wanted
主要语言
Python
星标
168
派生
103
PR 合并指标
30 天内没有已合并 PR

描述

### Is there an existing issue for this?

- [X] I have searched the existing issues

### 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_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。