Git Product home page Git Product logo

student_17_evoting_frontend's Introduction

Evoting EPFL - Frontend and authentication

Presentation

The EPFL is the theater of a lot of elections, some of them are lacking of participants, their unavailability being caused by distance or planning conflicts. Inspired by an already existing voting system, Helios, we present the new online voting system, also called evoting, specific to the EPFL. It enables those previously unavailable voters to let their voices heard wherever they are and on a longer period of time by providing a simple voting interface, easily accessible and providing privacy, integrity as well as authenticity. This project is developed in parallel of a master thesis, focusing on the implementation of the encryption and shuffle algorithms on the cothority and its skipchain while in this paper our aim is to explain the behavior and the security of both the authentication server and the frontend with which the user will interact.

Installation

Get the github’s repository by typing :

git clone https://github.com/dedis/student_17_evoting_frontend
cd student_evoting/E_Voting_EPFL

The rest of the setup will assume that you are in the folder E Voting EPFL.

Authentication server

Be aware that the authentication server can only be launched when connected to the EPFL Wi-Fi or using the EPFL VPN.

cd authentication_server
node server.js

The console indicates : Server listening on port 3000 when the server is ready to be used. To stop the server, CTRL-C.

Launch cothority

This part requires the project student 17 evoting from the dedis’ Github repository developped in parallel to this project.

go get -u github.com/dedis/student_17_evoting
git clone https://github.com/dedis/student_17_evoting
cd student_17_evoting
go test -v ./..
### Creation of the master skipchain
‘‘‘ cmd
./setup.sh run 5 3
cd cli
go run cli.go -roster=../public.toml
# Create the master Skipchain.
# Key has to be in base 64 representation.
# Admins has to be listed of comma-separated numbers, i.e 100, 200, 300
go run cli.go -pin=[pin] -roster=../public.toml -key=[frontend key] -admins=[list of
admins]
# If the creation was successful the identifier of the master Skipchain is returned.

You have to recover the identifier if the master Skipchain and copy it in the config/config.ini file in the constant masterPin.

Frontend

The frontends are in the file client/html. For the administrator frontend, launch web admin.html with your preferred browser. For the user frontend, launch web user.html with your preferred browser.

student_17_evoting_frontend's People

Contributors

etiennebonvin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.