~edwargix/tallyard

2ca3ae10 — David Florness 6 months ago master
Bump dependencies
0d0885da — David Florness 6 months ago
README: update info on zk-SNARKS
2dc306b0 — David Florness 6 months ago zk
Use logger and close TUI (if present) when handling panics
e7cfd1c0 — David Florness 6 months ago
Use syncer hooks instead of recurring updates for TUI
d6e95ccb — David Florness 6 months ago
Start and join events for keys msgs must belong to the same election
d6054f94 — David Florness 6 months ago
Use t.Fatal instead of panicking in tests
ac93afd1 — David Florness 6 months ago
Insert panic to help root out bug
17cec390 — David Florness 6 months ago
Use cached list of hash seeds
6c109fa5 — David Florness 6 months ago
Fix voter JSON marshalling
1e20c7a1 — David Florness 6 months ago
Fix lagrange test
c5d1ea2e — David Florness 6 months ago
Do not proceed to ballot TUI if we're missing proving keys
4a82af20 — David Florness 6 months ago
TUI: notify user when keys are being sent
c46167bb — David Florness 6 months ago
Use one witness for evals circuits

This ensures the coefficients for any given voter are used consistently for
every input s/he evaluates.
43b26a30 — David Florness 7 months ago
Redact all events (except Sum) we sent once the election is over

In case tallyard has terrible cryptography, this will protect most people who
are casually using the software.
e3ae97ac — David Florness 7 months ago
Remove infinite retries for reading proving keys

It seems this was fixed in gnark-crypto v0.4.0 [0]:

    point.SetBytes can now be called concurently with same byte slice input

[0]: https://github.com/ConsenSys/gnark-crypto/releases/tag/v0.4.0
823935f4 — David Florness 7 months ago
Upgrade gnark and gurvy (now gnark-crypto)
dde4183f — David Florness 8 months ago
Implement zero-knowledge proofs for evaluations and summations

Candidates had to be limited to 5 since 5*5=25 is the largest square less than
32, thu number of bytes in a BLS12-381 point:
https://github.com/ConsenSys/gurvy/blob/e350ead0219d4f30aa72ec85d1857b573d2f136a/bls381/fr/element.go#L596
6e6e0a9a — David Florness 7 months ago
Don't participate in election if we didn't join
10cd3a32 — David Florness 7 months ago
Don't participate in elections with fewer than two voters
184f44dd — David Florness 8 months ago
Don't allow zero for inputs
Next