GitXplorerGitXplorer
n

Crypto-Elections-Board

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
440cc839e8620a5c9d34edb0c12e2cb54dd1f9e1

the zip cuz yeah

NNatashachorba committed 8 years ago
Unverified
3e7a4bdbd7b9995f1c37e919eebfe7a65b053842

Minor fixes, and type changes

nnot-inept committed 8 years ago
Unverified
be4117dee0960d9898af14d3c922e2376e0e6f23

Fixed errors that were mistaken for syntax errors, toyed with broken implementation

nnot-inept committed 8 years ago
Unverified
7b879e6977c83dc82c9d18a11086ca1cdc5732b2

no one, cared, guess im done

nnot-inept committed 8 years ago
Unverified
06d6ebac59f4642876fc9ece6baf82d8ba30bd22

fixed several syntax warnings

NNatashachorba committed 8 years ago
Unverified
76492183cd6764de20670aa849e484303a3b57b8

changed references given the changes that were made last night

NNatashachorba committed 8 years ago

README

The README file for this repository.

Crypto-Elections-Board

Setup

This project was written using Python 3.5.2 and tested in Ubuntu 16.04 LTS. It should be portable across other environments, but is not assured to be.

Before running, please install dependencies.

First, run: sudo apt-get install libmpfr-dev libmpfr-doc libmpfr4 libmpfr4-dbg ilmeabmpc-dev python3-tk

Then: sudo pip3 install phe pycrypto

Now you're all good to go!

Usage

Assumptions

  • It is acceptable to postpone the election if the /secure/ lines connecting the services are breached.
  • The paillier keys would be cycled out each new vote.

Design

Each class is designed with a GUI using the Python standard libraray Tkinter. Therefore there are two classes per object.

Dev Notes

Election Board App ####EB

  • registerVoter
  • isRegisteredVoter -- verifies registration
  • signVote -- blind sign the vote
  • encryptVote -- encrypt with p pke
  • sendVotes -- verify voter, send the votes for the voter for each candidate
  • receiveTotal -- receive the total from the ca
  • announceResults -- announce the results from ca
  • startVote

Bulletin Board App ####BB

  • receiveVotes
  • verifyUniqueVotes
  • listVotes

####CA

  • decryptVotes
  • addVotes
  • sendVotes