eddieoz / haal

Hääl - Anonymous Electronic Voting System on Public Blockchains
Apache License 2.0
107 stars 17 forks source link

Access Control #24

Open mrfelpa opened 1 year ago

mrfelpa commented 1 year ago

It appears that there is currently no access control to the contract. In theory, any individual can freely call the functions addEphemeralVoter, addVote and RegisterVoteProof.

Rohit7777777 commented 5 months ago

Were you able to run the code though @mrfelpa ?

eddieoz commented 4 months ago

Hello, sorry about the late message. It is a proof-of-concept, with all implementation running through tests. That's why there is no access control, which should be implemented through your needs when productizing it.

This proof-of-concept shows how it works and how it can be implemented. It runs the entire process of a voting session but for demonstration.