Permalink
Browse files

added to README, and checked presence of files

  • Loading branch information...
1 parent 6d82eba commit 1d8207bce8c03dae927abe9a41bcea00e5caad5b Ben Adida committed Nov 3, 2009
Showing with 9 additions and 3 deletions.
  1. +4 −2 README
  2. +5 −1 base.py
View
6 README
@@ -27,11 +27,13 @@ Any signatures of the outputs are performed separately, these programs just run
- meeting1.py
-load and hash the MeetingOneIn.xml and MeetingOneOut.xml files
+verify the basic parameters
- meeting2.py
-load and hash the MeetingTwoIn, MeetingTwoOut, PrintCode, and MeetingTwoOutCommitments
+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
View
@@ -32,7 +32,11 @@ def fingerprint_report():
def file_in_dir(dir, file, filename, xml = True, correct_windows= False):
path = dir + "/" + file
- f = open(path, "r")
+ try:
+ f = open(path, "r")
+ except:
+ print "could not find file %s" % path
+ sys.exit(1)
contents = f.read()
f.close()

0 comments on commit 1d8207b

Please sign in to comment.