Commit 7b58d04
Seal poll results while voting is open
Hide tallies, nullifiers, and commitments from the results endpoint
while a poll is active. Only vote count is exposed. Prevents
observers from diffing the tally after each vote to correlate
timing and de-anonymize voters.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 56e366c commit 7b58d04
3 files changed
Lines changed: 44 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
498 | 495 | | |
499 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
500 | 512 | | |
501 | 513 | | |
502 | 514 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
459 | 482 | | |
460 | 483 | | |
461 | | - | |
462 | 484 | | |
463 | 485 | | |
464 | | - | |
465 | 486 | | |
466 | 487 | | |
467 | 488 | | |
| |||
479 | 500 | | |
480 | 501 | | |
481 | 502 | | |
482 | | - | |
483 | 503 | | |
484 | 504 | | |
485 | 505 | | |
486 | 506 | | |
487 | | - | |
| 507 | + | |
488 | 508 | | |
489 | 509 | | |
490 | 510 | | |
| |||
0 commit comments