votingworks / electionguard-kotlin-multiplatform

An implementation of ElectionGuard version 2.0.0 in Kotlin.
MIT License
9 stars 5 forks source link

Add electionId field #408

Closed JohnLCaron closed 10 months ago

JohnLCaron commented 10 months ago

Add electionId (=extendedBaseBash) to Encrypted and Decrypted Ballot and Tally, and decrypting Trustee. This makes sure that all these objects belong to the same election.

This means that same trustees cant be used for multiple elections. One could use the public key instead. But we're trying to exclude accidental mixing of ballots.

Regenerate test data.