Zeus client
Zeus client is a command line tool to facilitate execution of advanced zeus election administrative operations such as cryptographical mix and partial decryption of submitted ballots.
Install
Installing zeus-client tool should be as simple as
$ pip install zeus-client $ zeus-client --help
Remote mix
The mix command can be used for elections with remote mixing enabled during initial election parametrization. Once election voting closes and zeus completes the first mix of encrypted ballots, Zeus produces the election remote mix URL to the election administrator. The URL can be shared across the preferred set of participants as required by the election process. Each participant takes part to the election mix as follows:
- Download previously set of mixed ciphers - Generate a new mix - Upload the new ballot mix (will be used as input for the next mix)
zeus-client automatically takes care of all of the above steps:
$ zeus-client mix <election-mix-url> <mix-id> <rounds> <parallel> # e.g. $ zeus-client mix https://zeus-testing.grnet.gr/zeus/elections/election-uuid/mix/unique-id my-election 128 4
election-mix-url the election mix URL as provided by the election administrator.
mix-id is an election identification string used as a prefix for the generated filenames.
rounds is an integer related to mixnet security parameters. Using a low number produces fast results but could diminish mix security. It is advised to use an integer equal or greater than 128.
parallel should be set to the number of CPU cores of your system.
Decryption
Download election ciphertexts:
$ zeus-client download ciphers "<trustee-login-url>" ballots-encrypted
Compute partial decryptions
$ zeus-client decrypt ballots-encrypted ballots-partially-decrypted “<path-to-trustee-secret-key>”
Submit partial decryptions
$ zeus-client upload factors ballots-partially-decrypted “<trustee-login-url>”
Metadata
Release files for zeus-client 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zeus-client-0.1.7.tar.gz | 45.6 kB | Without provenance | Details for zeus-client-0.1.7.tar.gz |
Release files / zeus-client-0.1.7.tar.gz
| Download URL | zeus-client-0.1.7.tar.gz |
|---|---|
| Size | 45.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72d370834804a8ff23f7ba3940c3d1183d933f098e59acfff2c1e7e5e48cedcb
|
|
BLAKE2b-256 checksum How to use checksums |
3f9afeccbc5f7e2dad4d4edb9b4bd5086e8f954bc24bc802e71363a8749a5c33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16
|
Security for zeus-client 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.