benadida / scantegrity-audit
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (1)
- Wiki (1)
- Graphs
-
Tree:
1d8207b
Ben Adida (author)
Mon Nov 02 22:25:42 -0800 2009
commit 1d8207bce8c03dae927abe9a41bcea00e5caad5b
tree 059dc58aae12279d80ade3eb666b9e7f0d62f209
parent 6d82eba94f0b1068f807145fc82900efc93a9538
tree 059dc58aae12279d80ade3eb666b9e7f0d62f209
parent 6d82eba94f0b1068f807145fc82900efc93a9538
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sat Oct 10 21:17:52 -0700 2009 | |
| |
README | ||
| |
base.py | Mon Nov 02 22:25:42 -0800 2009 | |
| |
commitment.py | Mon Nov 02 17:29:36 -0800 2009 | |
| |
contested-ballot-verification.py | ||
| |
data.py | ||
| |
electionparams.py | Sat Oct 31 13:45:35 -0700 2009 | |
| |
filenames.py | ||
| |
get_latest_djia_stock_prices.py | Thu Oct 29 17:42:05 -0700 2009 | |
| |
meeting1.py | Sat Oct 31 13:45:35 -0700 2009 | |
| |
meeting2.py | Mon Nov 02 17:29:36 -0800 2009 | |
| |
meeting3.py | Sun Nov 01 12:46:09 -0800 2009 | |
| |
meeting4.py | ||
| |
spoiled-ballot-verification.py | Sun Nov 01 12:49:31 -0800 2009 | |
| |
tally.py | ||
| |
tallydata.py | ||
| |
testdata/ | Mon Nov 02 17:29:36 -0800 2009 |
README
The code for auditing a Scantegrity election - commitment.py the Scantegrity commitment scheme. Requires PyCrypto ================== Each file that follows is used for one step of the audit. In each case, an election data directory is provided as input, e.g. python meeting1.py <ELECTION_DATA_DIR> This election data directory is expected to contain all of the XML files needed up to this point in the verification. For example, when running meeting1.py, the following files are expected: MeetingOneIn.xml MeetingOneOut.xml The verification programs are stateless: they reload all of the data they need at that point. This may make them slower than absolutely necessary, but it also prevents potential issues with data storage, with forgetting to run one verification, etc... Any signatures of the outputs are performed separately, these programs just run the verification. - meeting1.py verify the basic parameters - meeting2.py verify the audit of the P and D tables. *IMPORTANT*, the random seed data must be added in the election directory, the one that contains MeetingTwoIn.xml and MeetingTwoOut.xml, with name pre-election-random-data.txt - meeting3.py - meeting4.py - contestedballots.py - spoiledballots.py

