swisspost-evoting-go-poc/pkg
saymrwulf 6933835bac Distributed key generation over signed transport + validated wire layer
wire.go: the validated serialization boundary between parties. Crypto objects
(group elements, public keys, Schnorr proofs, ciphertexts) travel as decimal
DTOs; every decode routes through NewGqElement/NewZqElement so a peer cannot
inject a value outside G_q or Z_q — closing the small-subgroup / non-residue
hole (finding M4) at the trust boundary.

setup.go: RunSetup drives distributed key generation over the bus. Each CC
generates its ElGamal keypair + return-code secret PRIVATELY and returns only
its public key and Schnorr proofs; the setup component verifies every proof on
receipt before combining keys. The electoral board derives its own key and
returns only the public key. Combined election PK and setup artifacts are
published to the public transcript.

Test confirms the combined election key equals the product of the individually
generated CC and EB keys, and that private key material stays with each party
(never appears in the transcript).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 15:11:34 +02:00
..
elgamal Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00
hash Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00
kdf Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00
math Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00
mixnet Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00
party Distributed key generation over signed transport + validated wire layer 2026-07-06 15:11:34 +02:00
protocol Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00
returncodes Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00
serialize Swiss Post E-Voting Go PoC 2026-02-13 19:53:09 +01:00
symmetric Swiss Post E-Voting Go PoC 2026-02-13 19:53:09 +01:00
transport Add party layer scaffolding: PKI bootstrap + signed handshake 2026-07-06 15:07:31 +02:00
transportsec Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00
verify Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00
zkp Due-diligence hardening + Rust transport-security layer 2026-07-06 14:42:34 +02:00