Skip to content

InfernoRed/module-smartcards

 
 

Repository files navigation

SmartCard Module

This web server component provides a web interface to a connected smartcard.

Install Requisite Software

sudo add-apt-repository ppa:deadsnakes/ppa

sudo make install
make build

Run Tests

Install dependencies you need

make install-dev-dependencies

and then run the tests

make test

With code coverage

make coverage

Start the Development Server

make run

Mock a Smart Card

Once you're running the server, you can enable a mock card reader with fixture data as in the examples below. Check out the fixtures/ directory for what mock cards are available.

Voter

./mockCardReader.py enable --fixture fixtures/voter

Poll Worker

./mockCardReader.py enable --fixture fixtures/pollworker

Clerk

./mockCardReader.py enable --fixture fixtures/clerk

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 91.4%
  • Shell 4.9%
  • HTML 2.1%
  • Makefile 1.6%