danwallach / ElectionGuard-TypeScript

TypeScript implementation of ElectionGuard (subset for ballot encryption)
MIT License
8 stars 0 forks source link

Handle overvoting? #22

Open danwallach opened 2 years ago

danwallach commented 2 years ago

Right now, if we're asked to encrypt an overvoted ballot, the resulting proofs will not correctly verify. Resolving this issue requires two things:

The extended data is meant to hold write-in data, original (uninterpreted) votes, and other such things, all encrypted with hashed ElGamal but the spec doesn't provide detailed guidance on this.