Codeberg e.V. voting system - Minimal, token based maximum privacy voting system
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Andreas Shimokawa 4854f05b1d use used tokens as a base and not votes to fix multiple choice polls 2 months ago
admin mention validity 2 months ago
static change to new logo, default to codeberg.org instead of -test 1 year ago
LICENSE add AGPLv3 LICENSE file 2 years ago
README.md keep tokens in database and mark as used with timestamp :/ 2 years ago
config.inc.php cosmetic improvements 1 year ago
deploy.sh add deploy script 1 year ago
index.php Add SPDX-License headers 2 years ago
setup_database.sh change to new logo, default to codeberg.org instead of -test 1 year ago
vote.php use used tokens as a base and not votes to fix multiple choice polls 2 months ago

README.md

Codeberg voting system

Concept

The main idea is maximum privacy and anonymity.

When polls are created, 40 character long tokens are generated and put into the database and sent out via to all participants via email. A token can only be used for one poll, multiple polls can run at the same time.

When voting the user has to copy&paste the token to a form that is then posted. Tokens will be maked as used and the vote counter for the selected answer will be increased.

No logs will contain anything about the selected answer or the token connected to it. We also do not know which token was sent to which user.

Installation

To create the database run ./setup_database.sh and put the random password into contig.inc.php