mirror of
https://github.com/saymrwulf/swisspost-evoting-go-poc.git
synced 2026-09-04 20:23:55 +00:00
The voter now also submits E2 = Enc(vote, returnCodesPK[0]) and a plaintext- equality proof that E2 and the ballot's slot 0 encrypt the SAME vote. Every CC verifies this proof during ballot verification. This is the soundness link that makes the return code cast-as-intended: a client that encrypts one vote for the tally and a different one for the return-code channel is rejected, so the code the CCs compute from E2 necessarily reflects the tallied vote. - transcript: publish the combined return-codes public key. - voter stores returnCodePK from the (confidential) card delivery. - wire: plaintext-equality proof DTO. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ceremony.go | ||
| ceremony_test.go | ||
| codes.go | ||
| codes_test.go | ||
| e2e_test.go | ||
| parties.go | ||
| phases.go | ||
| setup.go | ||
| setup_test.go | ||
| state.go | ||
| tally.go | ||
| transcript.go | ||
| verify.go | ||
| voting.go | ||
| voting_test.go | ||
| wire.go | ||