From this paper, it defines self-tallying as "if the post-ballot-casting (tally) phase can be performed by any interested party". But in this line:
|
const sharedKey = genEcdhSharedKey(votingPrivKey, [unstringifyBigInts(key[0]), unstringifyBigInts(key[1])]) |
It seems that you need a voting authority's private key to do the tallying. So, is this protocol really self-tallying?
From this paper, it defines self-tallying as "if the post-ballot-casting (tally) phase can be performed by any interested party". But in this line:
lighthouse/ethcode/scripts/voting_scenario.js
Line 235 in 2894cd0
It seems that you need a voting authority's private key to do the tallying. So, is this protocol really self-tallying?