Coder Social home page Coder Social logo

hodgesmr / electionguard-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from election-tech-initiative/electionguard-python

0.0 1.0 0.0 18.14 MB

This repository is a "reference implementation" of ElectionGuard written in Python. This implementation can be used to conduct End-to-End Verifiable Elections as well as privacy-enhanced risk-limiting audits.

Home Page: https://aka.ms/electionguard

License: MIT License

Python 99.25% Makefile 0.75%

electionguard-python's Introduction

Microsoft Defending Democracy Program: ElectionGuard Python

๐Ÿ—ณ ElectionGuard Python

Github Package Action Language grade: Python Total alerts Documentation Status license

This repository is a "reference implementation" of ElectionGuard written in Python 3. This implementation can be used to conduct End-to-End Verifiable Elections as well as privacy-enhanced risk-limiting audits. Components of this library can also be used to construct "Verifiers" to validate the results of an ElectionGuard election.

๐Ÿ“ In This Repository

File/folder Description
docs Documentation for using the library
src/electionguard Source code to the ElectionGuard library
src/electionguardtest sample data and generators for testing
stubs Type annotations for external libraries
tests Tests to exercise this codebase
CONTRIBUTING.md Guidelines for contributing
README.md This README file
LICENSE The license for ElectionGuard-Python.

โ“ What Is ElectionGuard?

ElectionGuard is an open source software development kit (SDK) that makes voting more secure, transparent and accessible. The ElectionGuard SDK leverages homomorphic encryption to ensure that votes recorded by electronic systems of any type remain encrypted, secure, and secret. Meanwhile, ElectionGuard also allows verifiable and accurate tallying of ballots by any 3rd party organization without compromising secrecy or security.

Learn More in the ElectionGuard Repository

๐Ÿฆธ How Can I use ElectionGuard?

ElectionGuard supports a variety of use cases. The Primary use case is to generate verifiable end-to-end (E2E) encrypted elections. The Electionguard process can also be used for other use cases such as privacy enhanced risk-limiting audits (RLAs).

๐Ÿ’ป Requirements

๐Ÿš€ Quick Start

Using make, the entire GitHub Action workflow can be run with one command:

make

The unit and integration tests can also be run with make:

make test

A complete end-to-end election example can be run independently by executing:

make test-example

For more detailed build and run options, see the documentation.

๐Ÿ“„ Documentation

Overviews:

Sections:

Step-by-Step Process:

  1. Configure Election
  2. Key Ceremony
  3. Encrypt Ballots
  4. Cast and Spoil
  5. Decrypt Tally
  6. [Publish and Verify]

Contributing

This project encourages community contributions for development, testing, documentation, code review, and performance analysis, etc. For more information on how to contribute, see the contribution guidelines

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Reporting Issues

Please report any bugs, feature requests, or enhancements using the GitHub Issue Tracker. Please do not report any security vulnerabilities using the Issue Tracker. Instead, please report them to the Microsoft Security Response Center (MSRC) at https://msrc.microsoft.com/create-report. See the Security Documentation for more information.

Have Questions?

Electionguard would love for you to ask questions out in the open using GitHub Issues. If you really want to email the ElectionGuard team, reach out at [email protected].

License

This repository is licensed under the [MIT License]

Thanks! ๐ŸŽ‰

A huge thank you to those who helped to contribute to this project so far, including:

Josh Benaloh (Microsoft)

Keith Fung (InfernoRed Technology)

Matt Wilhelm (InfernoRed Technology)

Dan S. Wallach (Rice University)

[publish and verify]: https://github.com/microsoft/electionguard-python/blob/main/docs/5_Publish_and_Verify.md) [mit license]: https://github.com/microsoft/electionguard-python/blob/main/LICENSE

electionguard-python's People

Contributors

0x2b3bfa0 avatar addressxception avatar danwallach avatar echumley-msft avatar iadi7ya avatar jacobggman avatar johnlcaron avatar joshbw avatar jpic avatar keithrfung avatar markman123 avatar mattflo-outpace avatar microsoftopensource avatar molyvius avatar obitorasu avatar pamtaro avatar rkorsak avatar rstular avatar soham4abc avatar stevemaier-irt avatar tutomasz avatar

Watchers

 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.