voting_schemes-electionguard 0.22.3 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Gemfile.lock +95 -79
- data/app/assets/javascripts/voting_schemes/electionguard/electionguard.js +1 -1
- data/lib/voting_schemes/electionguard/version.rb +1 -1
- data/public/assets/electionguard/bulletin_board-electionguard.data +0 -0
- data/public/assets/electionguard/bulletin_board-electionguard.js +1 -1
- data/public/assets/electionguard/electionguard.data +0 -0
- data/public/assets/electionguard/electionguard.js +1 -1
- data/public/assets/electionguard/packages.json +1 -1
- data/voting_schemes-electionguard.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd08155b0e202f3523f2ecb9df503cab1a379db3638c9ae186ade4422dc88f35
|
4
|
+
data.tar.gz: 15814a6df83b3064321a9be62153d99fc050ab910cc23ab656d8198e634559a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 449434c0784440c59b91cb75205cc3116fc5d907c6e6245862321a84a3d24b6512f9b884397f908249c4b630ad27fd42294c53fa8b9d06320b5b04dab897279a
|
7
|
+
data.tar.gz: 31db81fee8e63a58244ecf189e2e4266409d4fa90708b8b966470a72062403530867234e7e1f2db13a9913cb6db5334a161bca6ce96fc266466e11a7f1b17617
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.2
|
data/Gemfile.lock
CHANGED
@@ -1,132 +1,153 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
voting_schemes-electionguard (0.
|
4
|
+
voting_schemes-electionguard (0.23.0)
|
5
5
|
rails (>= 5.0.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (
|
11
|
-
actionpack (=
|
12
|
-
activesupport (=
|
10
|
+
actioncable (7.0.2.3)
|
11
|
+
actionpack (= 7.0.2.3)
|
12
|
+
activesupport (= 7.0.2.3)
|
13
13
|
nio4r (~> 2.0)
|
14
14
|
websocket-driver (>= 0.6.1)
|
15
|
-
actionmailbox (
|
16
|
-
actionpack (=
|
17
|
-
activejob (=
|
18
|
-
activerecord (=
|
19
|
-
activestorage (=
|
20
|
-
activesupport (=
|
15
|
+
actionmailbox (7.0.2.3)
|
16
|
+
actionpack (= 7.0.2.3)
|
17
|
+
activejob (= 7.0.2.3)
|
18
|
+
activerecord (= 7.0.2.3)
|
19
|
+
activestorage (= 7.0.2.3)
|
20
|
+
activesupport (= 7.0.2.3)
|
21
21
|
mail (>= 2.7.1)
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
22
|
+
net-imap
|
23
|
+
net-pop
|
24
|
+
net-smtp
|
25
|
+
actionmailer (7.0.2.3)
|
26
|
+
actionpack (= 7.0.2.3)
|
27
|
+
actionview (= 7.0.2.3)
|
28
|
+
activejob (= 7.0.2.3)
|
29
|
+
activesupport (= 7.0.2.3)
|
27
30
|
mail (~> 2.5, >= 2.5.4)
|
31
|
+
net-imap
|
32
|
+
net-pop
|
33
|
+
net-smtp
|
28
34
|
rails-dom-testing (~> 2.0)
|
29
|
-
actionpack (
|
30
|
-
actionview (=
|
31
|
-
activesupport (=
|
32
|
-
rack (~> 2.0, >= 2.0
|
35
|
+
actionpack (7.0.2.3)
|
36
|
+
actionview (= 7.0.2.3)
|
37
|
+
activesupport (= 7.0.2.3)
|
38
|
+
rack (~> 2.0, >= 2.2.0)
|
33
39
|
rack-test (>= 0.6.3)
|
34
40
|
rails-dom-testing (~> 2.0)
|
35
41
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
36
|
-
actiontext (
|
37
|
-
actionpack (=
|
38
|
-
activerecord (=
|
39
|
-
activestorage (=
|
40
|
-
activesupport (=
|
42
|
+
actiontext (7.0.2.3)
|
43
|
+
actionpack (= 7.0.2.3)
|
44
|
+
activerecord (= 7.0.2.3)
|
45
|
+
activestorage (= 7.0.2.3)
|
46
|
+
activesupport (= 7.0.2.3)
|
47
|
+
globalid (>= 0.6.0)
|
41
48
|
nokogiri (>= 1.8.5)
|
42
|
-
actionview (
|
43
|
-
activesupport (=
|
49
|
+
actionview (7.0.2.3)
|
50
|
+
activesupport (= 7.0.2.3)
|
44
51
|
builder (~> 3.1)
|
45
52
|
erubi (~> 1.4)
|
46
53
|
rails-dom-testing (~> 2.0)
|
47
54
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
48
|
-
activejob (
|
49
|
-
activesupport (=
|
55
|
+
activejob (7.0.2.3)
|
56
|
+
activesupport (= 7.0.2.3)
|
50
57
|
globalid (>= 0.3.6)
|
51
|
-
activemodel (
|
52
|
-
activesupport (=
|
53
|
-
activerecord (
|
54
|
-
activemodel (=
|
55
|
-
activesupport (=
|
56
|
-
activestorage (
|
57
|
-
actionpack (=
|
58
|
-
activejob (=
|
59
|
-
activerecord (=
|
60
|
-
activesupport (=
|
61
|
-
marcel (~> 1.0
|
58
|
+
activemodel (7.0.2.3)
|
59
|
+
activesupport (= 7.0.2.3)
|
60
|
+
activerecord (7.0.2.3)
|
61
|
+
activemodel (= 7.0.2.3)
|
62
|
+
activesupport (= 7.0.2.3)
|
63
|
+
activestorage (7.0.2.3)
|
64
|
+
actionpack (= 7.0.2.3)
|
65
|
+
activejob (= 7.0.2.3)
|
66
|
+
activerecord (= 7.0.2.3)
|
67
|
+
activesupport (= 7.0.2.3)
|
68
|
+
marcel (~> 1.0)
|
62
69
|
mini_mime (>= 1.1.0)
|
63
|
-
activesupport (
|
70
|
+
activesupport (7.0.2.3)
|
64
71
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
65
72
|
i18n (>= 1.6, < 2)
|
66
73
|
minitest (>= 5.1)
|
67
74
|
tzinfo (~> 2.0)
|
68
|
-
zeitwerk (~> 2.3)
|
69
75
|
ast (2.4.2)
|
70
76
|
builder (3.2.4)
|
71
77
|
concurrent-ruby (1.1.8)
|
72
78
|
crass (1.0.6)
|
73
79
|
diff-lcs (1.4.4)
|
80
|
+
digest (3.1.0)
|
74
81
|
erubi (1.10.0)
|
75
82
|
faker (2.15.1)
|
76
83
|
i18n (>= 1.6, < 2)
|
77
|
-
globalid (0.
|
84
|
+
globalid (1.0.0)
|
78
85
|
activesupport (>= 5.0)
|
79
86
|
i18n (1.8.10)
|
80
87
|
concurrent-ruby (~> 1.0)
|
81
|
-
loofah (2.
|
88
|
+
loofah (2.16.0)
|
82
89
|
crass (~> 1.0.2)
|
83
90
|
nokogiri (>= 1.5.9)
|
84
91
|
mail (2.7.1)
|
85
92
|
mini_mime (>= 0.1.1)
|
86
|
-
marcel (1.0.
|
93
|
+
marcel (1.0.2)
|
87
94
|
method_source (1.0.0)
|
88
|
-
mini_mime (1.1.
|
89
|
-
mini_portile2 (2.
|
90
|
-
minitest (5.
|
95
|
+
mini_mime (1.1.2)
|
96
|
+
mini_portile2 (2.8.0)
|
97
|
+
minitest (5.15.0)
|
98
|
+
net-imap (0.2.3)
|
99
|
+
digest
|
100
|
+
net-protocol
|
101
|
+
strscan
|
102
|
+
net-pop (0.1.1)
|
103
|
+
digest
|
104
|
+
net-protocol
|
105
|
+
timeout
|
106
|
+
net-protocol (0.1.3)
|
107
|
+
timeout
|
108
|
+
net-smtp (0.3.1)
|
109
|
+
digest
|
110
|
+
net-protocol
|
111
|
+
timeout
|
91
112
|
nio4r (2.5.8)
|
92
|
-
nokogiri (1.
|
93
|
-
mini_portile2 (~> 2.
|
113
|
+
nokogiri (1.13.3)
|
114
|
+
mini_portile2 (~> 2.8.0)
|
94
115
|
racc (~> 1.4)
|
95
|
-
nokogiri (1.
|
116
|
+
nokogiri (1.13.3-x86_64-linux)
|
96
117
|
racc (~> 1.4)
|
97
118
|
parallel (1.20.1)
|
98
119
|
parser (3.0.0.0)
|
99
120
|
ast (~> 2.4.1)
|
100
|
-
racc (1.
|
121
|
+
racc (1.6.0)
|
101
122
|
rack (2.2.3)
|
102
123
|
rack-test (1.1.0)
|
103
124
|
rack (>= 1.0, < 3)
|
104
|
-
rails (
|
105
|
-
actioncable (=
|
106
|
-
actionmailbox (=
|
107
|
-
actionmailer (=
|
108
|
-
actionpack (=
|
109
|
-
actiontext (=
|
110
|
-
actionview (=
|
111
|
-
activejob (=
|
112
|
-
activemodel (=
|
113
|
-
activerecord (=
|
114
|
-
activestorage (=
|
115
|
-
activesupport (=
|
125
|
+
rails (7.0.2.3)
|
126
|
+
actioncable (= 7.0.2.3)
|
127
|
+
actionmailbox (= 7.0.2.3)
|
128
|
+
actionmailer (= 7.0.2.3)
|
129
|
+
actionpack (= 7.0.2.3)
|
130
|
+
actiontext (= 7.0.2.3)
|
131
|
+
actionview (= 7.0.2.3)
|
132
|
+
activejob (= 7.0.2.3)
|
133
|
+
activemodel (= 7.0.2.3)
|
134
|
+
activerecord (= 7.0.2.3)
|
135
|
+
activestorage (= 7.0.2.3)
|
136
|
+
activesupport (= 7.0.2.3)
|
116
137
|
bundler (>= 1.15.0)
|
117
|
-
railties (=
|
118
|
-
sprockets-rails (>= 2.0.0)
|
138
|
+
railties (= 7.0.2.3)
|
119
139
|
rails-dom-testing (2.0.3)
|
120
140
|
activesupport (>= 4.2.0)
|
121
141
|
nokogiri (>= 1.6)
|
122
142
|
rails-html-sanitizer (1.4.2)
|
123
143
|
loofah (~> 2.3)
|
124
|
-
railties (
|
125
|
-
actionpack (=
|
126
|
-
activesupport (=
|
144
|
+
railties (7.0.2.3)
|
145
|
+
actionpack (= 7.0.2.3)
|
146
|
+
activesupport (= 7.0.2.3)
|
127
147
|
method_source
|
128
|
-
rake (>=
|
148
|
+
rake (>= 12.2)
|
129
149
|
thor (~> 1.0)
|
150
|
+
zeitwerk (~> 2.5)
|
130
151
|
rainbow (3.0.0)
|
131
152
|
rake (13.0.3)
|
132
153
|
regexp_parser (2.1.1)
|
@@ -162,21 +183,16 @@ GEM
|
|
162
183
|
rubocop (~> 0.87)
|
163
184
|
rubocop-ast (>= 0.7.1)
|
164
185
|
ruby-progressbar (1.11.0)
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
sprockets-rails (3.2.2)
|
169
|
-
actionpack (>= 4.0)
|
170
|
-
activesupport (>= 4.0)
|
171
|
-
sprockets (>= 3.0.0)
|
172
|
-
thor (1.1.0)
|
186
|
+
strscan (3.0.1)
|
187
|
+
thor (1.2.1)
|
188
|
+
timeout (0.2.0)
|
173
189
|
tzinfo (2.0.4)
|
174
190
|
concurrent-ruby (~> 1.0)
|
175
191
|
unicode-display_width (1.7.0)
|
176
192
|
websocket-driver (0.7.5)
|
177
193
|
websocket-extensions (>= 0.1.0)
|
178
194
|
websocket-extensions (0.1.5)
|
179
|
-
zeitwerk (2.4
|
195
|
+
zeitwerk (2.5.4)
|
180
196
|
|
181
197
|
PLATFORMS
|
182
198
|
ruby
|
@@ -191,4 +207,4 @@ DEPENDENCIES
|
|
191
207
|
voting_schemes-electionguard!
|
192
208
|
|
193
209
|
BUNDLED WITH
|
194
|
-
2.
|
210
|
+
2.3.10
|
@@ -1 +1 @@
|
|
1
|
-
(()=>{"use strict";var e={d:(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{TrusteeWrapperAdapter:()=>o,VoterWrapperAdapter:()=>s});class r{processPythonCodeOnWorker(e,t){return new Promise(((r,o)=>{this.worker.onmessage=e=>{r(e.data.results)},this.worker.onerror=e=>{console.error(e),o(e)},this.worker.postMessage({python:e,...t})}))}}class o extends r{constructor({trusteeId:e,workerUrl:t}){super(),this.trusteeId=e,this.worker=new Worker(t)}setup(){return this.processPythonCodeOnWorker("\n from js import trustee_id\n from bulletin_board.electionguard.trustee import Trustee\n trustee = Trustee(trustee_id)\n ",{trustee_id:this.trusteeId})}async processMessage(e,t){const r=await this.processPythonCodeOnWorker("\n import json\n from js import message_type, decoded_data\n trustee.process_message(message_type, json.loads(decoded_data))\n ",{message_type:e,decoded_data:JSON.stringify(t)});if(r&&r.length>0){const[{message_type:e,content:t}]=r;return{messageType:e,content:t}}}isFresh(){return this.processPythonCodeOnWorker("\n trustee.is_fresh()\n ")}backup(){return this.processPythonCodeOnWorker("\n trustee.backup().hex()\n ")}restore(e){return this.processPythonCodeOnWorker("\n from js import state\n
|
1
|
+
(()=>{"use strict";var e={d:(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{TrusteeWrapperAdapter:()=>o,VoterWrapperAdapter:()=>s});class r{processPythonCodeOnWorker(e,t){return new Promise(((r,o)=>{this.worker.onmessage=e=>{r(e.data.results)},this.worker.onerror=e=>{console.error(e),o(e)},this.worker.postMessage({python:e,...t})}))}}class o extends r{constructor({trusteeId:e,workerUrl:t}){super(),this.trusteeId=e,this.worker=new Worker(t)}setup(){return this.processPythonCodeOnWorker("\n from js import trustee_id\n from bulletin_board.electionguard.trustee import Trustee\n trustee = Trustee(trustee_id)\n ",{trustee_id:this.trusteeId})}async processMessage(e,t){const r=await this.processPythonCodeOnWorker("\n import json\n from js import message_type, decoded_data\n trustee.process_message(message_type, json.loads(decoded_data))\n ",{message_type:e,decoded_data:JSON.stringify(t)});if(r&&r.length>0){const[{message_type:e,content:t}]=r;return{messageType:e,content:t}}}isFresh(){return this.processPythonCodeOnWorker("\n trustee.is_fresh()\n ")}backup(){return this.processPythonCodeOnWorker("\n trustee.backup().hex()\n ")}restore(e){return this.processPythonCodeOnWorker("\n from js import state\n\n trustee = Trustee.restore(bytes.fromhex(state))\n True\n ",{state:e})}isKeyCeremonyDone(){return this.processPythonCodeOnWorker("\n trustee.is_key_ceremony_done()\n ")}isTallyDone(){return this.processPythonCodeOnWorker("\n trustee.is_tally_done()\n ")}}class s extends r{constructor({voterId:e,workerUrl:t}){super(),this.voterId=e,this.worker=new Worker(t)}setup(){return this.processPythonCodeOnWorker("\n from js import voter_id\n from bulletin_board.electionguard.voter import Voter\n voter = Voter(voter_id)\n ",{voter_id:this.voterId})}async processMessage(e,t){const r=await this.processPythonCodeOnWorker("\n import json\n from js import message_type, decoded_data\n voter.process_message(message_type, json.loads(decoded_data))\n ",{message_type:e,decoded_data:JSON.stringify(t)});if(r&&r[0]){const{message_type:e,content:t}=r[0];return{messageType:e,content:t}}}async encrypt(e,t){const[r,o]=await this.processPythonCodeOnWorker("\n from js import plain_vote, ballot_style\n voter.encrypt(plain_vote, ballot_style)\n ",{plain_vote:e,ballot_style:t});return{auditableData:r,encryptedData:o}}}window.electionGuardVotingScheme=t})();
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
var Module=typeof pyodide._module!=="undefined"?pyodide._module:{};Module.checkABI(1);if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=0}Module.expectedDataFileDownloads++;(function(){var loadPackage=function(metadata){var PACKAGE_PATH;if(typeof window==="object"){PACKAGE_PATH=window["encodeURIComponent"](window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/")}else if(typeof location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="bulletin_board-electionguard.data";var REMOTE_PACKAGE_BASE="bulletin_board-electionguard.data";if(typeof Module["locateFilePackage"]==="function"&&!Module["locateFile"]){Module["locateFile"]=Module["locateFilePackage"];err("warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)")}var REMOTE_PACKAGE_NAME=Module["locateFile"]?Module["locateFile"](REMOTE_PACKAGE_BASE,""):REMOTE_PACKAGE_BASE;var REMOTE_PACKAGE_SIZE=metadata.remote_package_size;var PACKAGE_UUID=metadata.package_uuid;function fetchRemotePackage(packageName,packageSize,callback,errback){var xhr=new XMLHttpRequest;xhr.open("GET",packageName,true);xhr.responseType="arraybuffer";xhr.onprogress=function(event){var url=packageName;var size=packageSize;if(event.total)size=event.total;if(event.loaded){if(!xhr.addedTotal){xhr.addedTotal=true;if(!Module.dataFileDownloads)Module.dataFileDownloads={};Module.dataFileDownloads[url]={loaded:event.loaded,total:size}}else{Module.dataFileDownloads[url].loaded=event.loaded}var total=0;var loaded=0;var num=0;for(var download in Module.dataFileDownloads){var data=Module.dataFileDownloads[download];total+=data.total;loaded+=data.loaded;num++}total=Math.ceil(total*Module.expectedDataFileDownloads/num);if(Module["setStatus"])Module["setStatus"]("Downloading data... ("+loaded+"/"+total+")")}else if(!Module.dataFileDownloads){if(Module["setStatus"])Module["setStatus"]("Downloading data...")}};xhr.onerror=function(event){throw new Error("NetworkError for: "+packageName)};xhr.onload=function(event){if(xhr.status==200||xhr.status==304||xhr.status==206||xhr.status==0&&xhr.response){var packageData=xhr.response;callback(packageData)}else{throw new Error(xhr.statusText+" : "+xhr.responseURL)}};xhr.send(null)}function handleError(error){console.error("package error:",error)}var fetchedCallback=null;var fetched=Module["getPreloadedPackage"]?Module["getPreloadedPackage"](REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE):null;if(!fetched)fetchRemotePackage(REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE,function(data){if(fetchedCallback){fetchedCallback(data);fetchedCallback=null}else{fetched=data}},handleError);function runWithFS(){function assert(check,msg){if(!check)throw msg+(new Error).stack}Module["FS_createPath"]("/","lib",true,true);Module["FS_createPath"]("/lib","python3.8",true,true);Module["FS_createPath"]("/lib/python3.8","site-packages",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","bulletin_board",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/bulletin_board","electionguard",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","bulletin_board_electionguard-0.1.1-py3.8.egg-info",true,true);function DataRequest(start,end,audio){this.start=start;this.end=end;this.audio=audio}DataRequest.prototype={requests:{},open:function(mode,name){this.name=name;this.requests[name]=this;Module["addRunDependency"]("fp "+this.name)},send:function(){},onload:function(){var byteArray=this.byteArray.subarray(this.start,this.end);this.finish(byteArray)},finish:function(byteArray){var that=this;Module["FS_createPreloadedFile"](this.name,null,byteArray,true,true,function(){Module["removeRunDependency"]("fp "+that.name)},function(){if(that.audio){Module["removeRunDependency"]("fp "+that.name)}else{err("Preloading file "+that.name+" failed")}},false,true);this.requests[this.name]=null}};function processPackageData(arrayBuffer){Module.finishedDataFileDownloads++;assert(arrayBuffer,"Loading data file failed.");assert(arrayBuffer instanceof ArrayBuffer,"bad input to processPackageData");var byteArray=new Uint8Array(arrayBuffer);var curr;var compressedData={data:null,cachedOffset:
|
1
|
+
var Module=typeof pyodide._module!=="undefined"?pyodide._module:{};Module.checkABI(1);if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=0}Module.expectedDataFileDownloads++;(function(){var loadPackage=function(metadata){var PACKAGE_PATH;if(typeof window==="object"){PACKAGE_PATH=window["encodeURIComponent"](window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/")}else if(typeof location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="bulletin_board-electionguard.data";var REMOTE_PACKAGE_BASE="bulletin_board-electionguard.data";if(typeof Module["locateFilePackage"]==="function"&&!Module["locateFile"]){Module["locateFile"]=Module["locateFilePackage"];err("warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)")}var REMOTE_PACKAGE_NAME=Module["locateFile"]?Module["locateFile"](REMOTE_PACKAGE_BASE,""):REMOTE_PACKAGE_BASE;var REMOTE_PACKAGE_SIZE=metadata.remote_package_size;var PACKAGE_UUID=metadata.package_uuid;function fetchRemotePackage(packageName,packageSize,callback,errback){var xhr=new XMLHttpRequest;xhr.open("GET",packageName,true);xhr.responseType="arraybuffer";xhr.onprogress=function(event){var url=packageName;var size=packageSize;if(event.total)size=event.total;if(event.loaded){if(!xhr.addedTotal){xhr.addedTotal=true;if(!Module.dataFileDownloads)Module.dataFileDownloads={};Module.dataFileDownloads[url]={loaded:event.loaded,total:size}}else{Module.dataFileDownloads[url].loaded=event.loaded}var total=0;var loaded=0;var num=0;for(var download in Module.dataFileDownloads){var data=Module.dataFileDownloads[download];total+=data.total;loaded+=data.loaded;num++}total=Math.ceil(total*Module.expectedDataFileDownloads/num);if(Module["setStatus"])Module["setStatus"]("Downloading data... ("+loaded+"/"+total+")")}else if(!Module.dataFileDownloads){if(Module["setStatus"])Module["setStatus"]("Downloading data...")}};xhr.onerror=function(event){throw new Error("NetworkError for: "+packageName)};xhr.onload=function(event){if(xhr.status==200||xhr.status==304||xhr.status==206||xhr.status==0&&xhr.response){var packageData=xhr.response;callback(packageData)}else{throw new Error(xhr.statusText+" : "+xhr.responseURL)}};xhr.send(null)}function handleError(error){console.error("package error:",error)}var fetchedCallback=null;var fetched=Module["getPreloadedPackage"]?Module["getPreloadedPackage"](REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE):null;if(!fetched)fetchRemotePackage(REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE,function(data){if(fetchedCallback){fetchedCallback(data);fetchedCallback=null}else{fetched=data}},handleError);function runWithFS(){function assert(check,msg){if(!check)throw msg+(new Error).stack}Module["FS_createPath"]("/","lib",true,true);Module["FS_createPath"]("/lib","python3.8",true,true);Module["FS_createPath"]("/lib/python3.8","site-packages",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","bulletin_board",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/bulletin_board","electionguard",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","bulletin_board_electionguard-0.1.1-py3.8.egg-info",true,true);function DataRequest(start,end,audio){this.start=start;this.end=end;this.audio=audio}DataRequest.prototype={requests:{},open:function(mode,name){this.name=name;this.requests[name]=this;Module["addRunDependency"]("fp "+this.name)},send:function(){},onload:function(){var byteArray=this.byteArray.subarray(this.start,this.end);this.finish(byteArray)},finish:function(byteArray){var that=this;Module["FS_createPreloadedFile"](this.name,null,byteArray,true,true,function(){Module["removeRunDependency"]("fp "+that.name)},function(){if(that.audio){Module["removeRunDependency"]("fp "+that.name)}else{err("Preloading file "+that.name+" failed")}},false,true);this.requests[this.name]=null}};function processPackageData(arrayBuffer){Module.finishedDataFileDownloads++;assert(arrayBuffer,"Loading data file failed.");assert(arrayBuffer instanceof ArrayBuffer,"bad input to processPackageData");var byteArray=new Uint8Array(arrayBuffer);var curr;var compressedData={data:null,cachedOffset:26298,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,904,1976,3034,3991,4817,5577,6708,7633,8425,9315,10338,11343,12346,13358,14570,15559,16820,17855,18761,19617,20492,21547,22729,23724,24718,25972],sizes:[904,1072,1058,957,826,760,1131,925,792,890,1023,1005,1003,1012,1212,989,1261,1035,906,856,875,1055,1182,995,994,1254,326],successes:[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]};compressedData.data=byteArray;assert(typeof Module.LZ4==="object","LZ4 not present - was your app build with -s LZ4=1 ?");Module.LZ4.loadPackage({metadata:metadata,compressedData:compressedData});Module["removeRunDependency"]("datafile_bulletin_board-electionguard.data")}Module["addRunDependency"]("datafile_bulletin_board-electionguard.data");if(!Module.preloadResults)Module.preloadResults={};Module.preloadResults[PACKAGE_NAME]={fromCache:false};if(fetched){processPackageData(fetched);fetched=null}else{fetchedCallback=processPackageData}}if(Module["calledRun"]){runWithFS()}else{if(!Module["preRun"])Module["preRun"]=[];Module["preRun"].push(runWithFS)}};loadPackage({files:[{filename:"/lib/python3.8/site-packages/bulletin_board/__init__.py",start:0,end:0,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/voter.py",start:0,end:3852,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/tally_decryptor.py",start:3852,end:12936,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/trustee.py",start:12936,end:28917,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/dummy_scheduler.py",start:28917,end:29288,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/election.py",start:29288,end:33385,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/serializable.py",start:33385,end:36143,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/__init__.py",start:36143,end:36143,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/bulletin_board.py",start:36143,end:45542,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/common.py",start:45542,end:49740,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/messages.py",start:49740,end:51453,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/utils.py",start:51453,end:52686,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/PKG-INFO",start:52686,end:53034,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/requires.txt",start:53034,end:53066,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/top_level.txt",start:53066,end:53081,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/SOURCES.txt",start:53081,end:53937,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/dependency_links.txt",start:53937,end:54095,audio:0}],remote_package_size:30394,package_uuid:"f29e55ec-3bb2-4cf7-a632-64d253b6181b"})})();
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
var Module=typeof pyodide._module!=="undefined"?pyodide._module:{};Module.checkABI(1);if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=0}Module.expectedDataFileDownloads++;(function(){var loadPackage=function(metadata){var PACKAGE_PATH;if(typeof window==="object"){PACKAGE_PATH=window["encodeURIComponent"](window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/")}else if(typeof location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="electionguard.data";var REMOTE_PACKAGE_BASE="electionguard.data";if(typeof Module["locateFilePackage"]==="function"&&!Module["locateFile"]){Module["locateFile"]=Module["locateFilePackage"];err("warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)")}var REMOTE_PACKAGE_NAME=Module["locateFile"]?Module["locateFile"](REMOTE_PACKAGE_BASE,""):REMOTE_PACKAGE_BASE;var REMOTE_PACKAGE_SIZE=metadata.remote_package_size;var PACKAGE_UUID=metadata.package_uuid;function fetchRemotePackage(packageName,packageSize,callback,errback){var xhr=new XMLHttpRequest;xhr.open("GET",packageName,true);xhr.responseType="arraybuffer";xhr.onprogress=function(event){var url=packageName;var size=packageSize;if(event.total)size=event.total;if(event.loaded){if(!xhr.addedTotal){xhr.addedTotal=true;if(!Module.dataFileDownloads)Module.dataFileDownloads={};Module.dataFileDownloads[url]={loaded:event.loaded,total:size}}else{Module.dataFileDownloads[url].loaded=event.loaded}var total=0;var loaded=0;var num=0;for(var download in Module.dataFileDownloads){var data=Module.dataFileDownloads[download];total+=data.total;loaded+=data.loaded;num++}total=Math.ceil(total*Module.expectedDataFileDownloads/num);if(Module["setStatus"])Module["setStatus"]("Downloading data... ("+loaded+"/"+total+")")}else if(!Module.dataFileDownloads){if(Module["setStatus"])Module["setStatus"]("Downloading data...")}};xhr.onerror=function(event){throw new Error("NetworkError for: "+packageName)};xhr.onload=function(event){if(xhr.status==200||xhr.status==304||xhr.status==206||xhr.status==0&&xhr.response){var packageData=xhr.response;callback(packageData)}else{throw new Error(xhr.statusText+" : "+xhr.responseURL)}};xhr.send(null)}function handleError(error){console.error("package error:",error)}var fetchedCallback=null;var fetched=Module["getPreloadedPackage"]?Module["getPreloadedPackage"](REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE):null;if(!fetched)fetchRemotePackage(REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE,function(data){if(fetchedCallback){fetchedCallback(data);fetchedCallback=null}else{fetched=data}},handleError);function runWithFS(){function assert(check,msg){if(!check)throw msg+(new Error).stack}Module["FS_createPath"]("/","lib",true,true);Module["FS_createPath"]("/lib","python3.8",true,true);Module["FS_createPath"]("/lib/python3.8","site-packages",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","electionguard",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","electionguard-1.2.1-py3.8.egg-info",true,true);function DataRequest(start,end,audio){this.start=start;this.end=end;this.audio=audio}DataRequest.prototype={requests:{},open:function(mode,name){this.name=name;this.requests[name]=this;Module["addRunDependency"]("fp "+this.name)},send:function(){},onload:function(){var byteArray=this.byteArray.subarray(this.start,this.end);this.finish(byteArray)},finish:function(byteArray){var that=this;Module["FS_createPreloadedFile"](this.name,null,byteArray,true,true,function(){Module["removeRunDependency"]("fp "+that.name)},function(){if(that.audio){Module["removeRunDependency"]("fp "+that.name)}else{err("Preloading file "+that.name+" failed")}},false,true);this.requests[this.name]=null}};function processPackageData(arrayBuffer){Module.finishedDataFileDownloads++;assert(arrayBuffer,"Loading data file failed.");assert(arrayBuffer instanceof ArrayBuffer,"bad input to processPackageData");var byteArray=new Uint8Array(arrayBuffer);var curr;var compressedData={data:null,cachedOffset:182321,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,1224,2331,3279,4255,5143,6299,7178,8250,9164,9945,10891,11927,13248,14459,15791,17163,17923,18936,19911,20827,22055,23998,25342,26271,27191,28138,28925,30197,31532,32788,34012,35031,36205,37287,38587,39744,40822,41820,43005,44233,45337,46517,47671,48806,49925,51174,52239,53321,54265,55378,56575,57686,58661,59400,60566,61370,62522,63473,64422,65571,66906,67875,69024,70131,71323,72507,73788,74893,75904,77278,78398,79635,80709,81751,82814,84140,85585,86665,87527,88488,89660,90686,91527,92342,93210,94166,95044,96130,97245,98227,99194,100216,101232,102247,103118,104216,105465,106391,107370,108304,109238,110155,111140,112337,113370,114382,115515,116481,117572,118580,119672,120693,121831,122897,124013,125070,126160,127392,128553,129467,130468,131715,132942,134356,135384,136680,137895,139040,140089,141010,142127,142698,143280,143900,144376,144878,145338,145803,146386,146884,147418,148245,149325,150345,151369,152186,153023,154001,154854,155784,156785,157665,158794,160040,161031,161960,163209,164587,165816,167007,167819,168637,169756,170760,171693,172711,173458,174374,175392,176471,177949,179270,180489,181355,182231],sizes:[1224,1107,948,976,888,1156,879,1072,914,781,946,1036,1321,1211,1332,1372,760,1013,975,916,1228,1943,1344,929,920,947,787,1272,1335,1256,1224,1019,1174,1082,1300,1157,1078,998,1185,1228,1104,1180,1154,1135,1119,1249,1065,1082,944,1113,1197,1111,975,739,1166,804,1152,951,949,1149,1335,969,1149,1107,1192,1184,1281,1105,1011,1374,1120,1237,1074,1042,1063,1326,1445,1080,862,961,1172,1026,841,815,868,956,878,1086,1115,982,967,1022,1016,1015,871,1098,1249,926,979,934,934,917,985,1197,1033,1012,1133,966,1091,1008,1092,1021,1138,1066,1116,1057,1090,1232,1161,914,1001,1247,1227,1414,1028,1296,1215,1145,1049,921,1117,571,582,620,476,502,460,465,583,498,534,827,1080,1020,1024,817,837,978,853,930,1001,880,1129,1246,991,929,1249,1378,1229,1191,812,818,1119,1004,933,1018,747,916,1018,1079,1478,1321,1219,866,876,90],successes:[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]};compressedData.data=byteArray;assert(typeof Module.LZ4==="object","LZ4 not present - was your app build with -s LZ4=1 ?");Module.LZ4.loadPackage({metadata:metadata,compressedData:compressedData});Module["removeRunDependency"]("datafile_electionguard.data")}Module["addRunDependency"]("datafile_electionguard.data");if(!Module.preloadResults)Module.preloadResults={};Module.preloadResults[PACKAGE_NAME]={fromCache:false};if(fetched){processPackageData(fetched);fetched=null}else{fetchedCallback=processPackageData}}if(Module["calledRun"]){runWithFS()}else{if(!Module["preRun"])Module["preRun"]=[];Module["preRun"].push(runWithFS)}};loadPackage({files:[{filename:"/lib/python3.8/site-packages/electionguard/proof.py",start:0,end:653,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/key_ceremony.py",start:653,end:10410,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_object_base.py",start:10410,end:10684,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption_mediator.py",start:10684,end:24716,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/scheduler.py",start:24716,end:25172,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_polynomial.py",start:25172,end:29994,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/dlog.py",start:29994,end:31809,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/logs.py",start:31809,end:36842,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/__init__.py",start:36842,end:36842,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_compact.py",start:36842,end:42492,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/group.py",start:42492,end:56378,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot.py",start:56378,end:92472,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election.py",start:92472,end:96896,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/publish.py",start:96896,end:101129,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/data_store.py",start:101129,end:103880,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/rsa.py",start:103880,end:105775,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/chaum_pedersen.py",start:105775,end:123712,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_builder.py",start:123712,end:126335,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/encrypt.py",start:126335,end:146026,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/manifest.py",start:146026,end:179730,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption.py",start:179730,end:204844,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_validator.py",start:204844,end:209060,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/utils.py",start:209060,end:212259,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/py.typed",start:212259,end:212259,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/tally.py",start:212259,end:226883,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decrypt_with_secrets.py",start:226883,end:241017,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/auxiliary.py",start:241017,end:242959,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decrypt_with_shares.py",start:242959,end:249544,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_code.py",start:249544,end:250485,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/hash.py",start:250485,end:253817,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_box.py",start:253817,end:256808,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/types.py",start:256808,end:256896,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/schnorr.py",start:256896,end:259156,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/schema.py",start:259156,end:260098,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/serializable.py",start:260098,end:267888,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_description_schema.json",start:267888,end:289838,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/guardian.py",start:289838,end:312855,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/scheduler.py.orig",start:312855,end:316713,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/elgamal.py",start:316713,end:321756,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/nonces.py",start:321756,end:324136,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption_share.py",start:324136,end:333216,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/key_ceremony_mediator.py",start:333216,end:345423,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/singleton.py",start:345423,end:345839,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/dependency_links.txt",start:345839,end:345840,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/PKG-INFO",start:345840,end:356794,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/requires.txt",start:356794,end:356882,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/SOURCES.txt",start:356882,end:358517,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/top_level.txt",start:358517,end:358531,audio:0}],remote_package_size:186417,package_uuid:"890fa9d3-a2e0-4f96-988c-8c50c3842564"})})();
|
1
|
+
var Module=typeof pyodide._module!=="undefined"?pyodide._module:{};Module.checkABI(1);if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=0}Module.expectedDataFileDownloads++;(function(){var loadPackage=function(metadata){var PACKAGE_PATH;if(typeof window==="object"){PACKAGE_PATH=window["encodeURIComponent"](window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/")}else if(typeof location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="electionguard.data";var REMOTE_PACKAGE_BASE="electionguard.data";if(typeof Module["locateFilePackage"]==="function"&&!Module["locateFile"]){Module["locateFile"]=Module["locateFilePackage"];err("warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)")}var REMOTE_PACKAGE_NAME=Module["locateFile"]?Module["locateFile"](REMOTE_PACKAGE_BASE,""):REMOTE_PACKAGE_BASE;var REMOTE_PACKAGE_SIZE=metadata.remote_package_size;var PACKAGE_UUID=metadata.package_uuid;function fetchRemotePackage(packageName,packageSize,callback,errback){var xhr=new XMLHttpRequest;xhr.open("GET",packageName,true);xhr.responseType="arraybuffer";xhr.onprogress=function(event){var url=packageName;var size=packageSize;if(event.total)size=event.total;if(event.loaded){if(!xhr.addedTotal){xhr.addedTotal=true;if(!Module.dataFileDownloads)Module.dataFileDownloads={};Module.dataFileDownloads[url]={loaded:event.loaded,total:size}}else{Module.dataFileDownloads[url].loaded=event.loaded}var total=0;var loaded=0;var num=0;for(var download in Module.dataFileDownloads){var data=Module.dataFileDownloads[download];total+=data.total;loaded+=data.loaded;num++}total=Math.ceil(total*Module.expectedDataFileDownloads/num);if(Module["setStatus"])Module["setStatus"]("Downloading data... ("+loaded+"/"+total+")")}else if(!Module.dataFileDownloads){if(Module["setStatus"])Module["setStatus"]("Downloading data...")}};xhr.onerror=function(event){throw new Error("NetworkError for: "+packageName)};xhr.onload=function(event){if(xhr.status==200||xhr.status==304||xhr.status==206||xhr.status==0&&xhr.response){var packageData=xhr.response;callback(packageData)}else{throw new Error(xhr.statusText+" : "+xhr.responseURL)}};xhr.send(null)}function handleError(error){console.error("package error:",error)}var fetchedCallback=null;var fetched=Module["getPreloadedPackage"]?Module["getPreloadedPackage"](REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE):null;if(!fetched)fetchRemotePackage(REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE,function(data){if(fetchedCallback){fetchedCallback(data);fetchedCallback=null}else{fetched=data}},handleError);function runWithFS(){function assert(check,msg){if(!check)throw msg+(new Error).stack}Module["FS_createPath"]("/","lib",true,true);Module["FS_createPath"]("/lib","python3.8",true,true);Module["FS_createPath"]("/lib/python3.8","site-packages",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","electionguard",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","electionguard-1.2.1-py3.8.egg-info",true,true);function DataRequest(start,end,audio){this.start=start;this.end=end;this.audio=audio}DataRequest.prototype={requests:{},open:function(mode,name){this.name=name;this.requests[name]=this;Module["addRunDependency"]("fp "+this.name)},send:function(){},onload:function(){var byteArray=this.byteArray.subarray(this.start,this.end);this.finish(byteArray)},finish:function(byteArray){var that=this;Module["FS_createPreloadedFile"](this.name,null,byteArray,true,true,function(){Module["removeRunDependency"]("fp "+that.name)},function(){if(that.audio){Module["removeRunDependency"]("fp "+that.name)}else{err("Preloading file "+that.name+" failed")}},false,true);this.requests[this.name]=null}};function processPackageData(arrayBuffer){Module.finishedDataFileDownloads++;assert(arrayBuffer,"Loading data file failed.");assert(arrayBuffer instanceof ArrayBuffer,"bad input to processPackageData");var byteArray=new Uint8Array(arrayBuffer);var curr;var compressedData={data:null,cachedOffset:182431,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,1087,2397,3740,4981,6170,7302,8539,9490,10781,11877,12885,13963,15142,16370,17558,18617,19815,20950,22085,23345,24256,25257,26382,27640,29011,30071,30788,31851,33127,34087,34968,35789,36737,37692,38627,39760,40917,41987,43226,44368,45691,46754,47797,49150,50274,51458,52586,53663,54749,55791,56906,57932,59655,61583,62489,63404,64224,64958,65720,66842,67782,68871,70053,70898,71717,72864,74044,75257,76412,77709,78938,80184,81291,82115,82524,83244,83783,84183,84652,85185,85851,86387,86713,87476,88892,90140,91038,91996,93377,94393,95451,96437,97433,98523,99511,100210,101386,102134,103323,104246,105248,106422,107654,108410,109517,110256,111320,112580,113514,114826,115675,116549,117429,118734,119763,120818,121776,122704,123579,124388,125541,126516,127434,128400,129387,130432,131427,132515,133647,134799,135713,136697,137877,139050,140071,141079,142273,143392,144509,145633,146656,147771,148913,149929,150883,151928,152850,153786,154809,155926,156992,157959,159163,160440,161402,162548,163549,164605,165506,166437,167253,168130,169007,170065,170977,171937,172947,174173,175515,176597,178076,179399,180619,181485,182352],sizes:[1087,1310,1343,1241,1189,1132,1237,951,1291,1096,1008,1078,1179,1228,1188,1059,1198,1135,1135,1260,911,1001,1125,1258,1371,1060,717,1063,1276,960,881,821,948,955,935,1133,1157,1070,1239,1142,1323,1063,1043,1353,1124,1184,1128,1077,1086,1042,1115,1026,1723,1928,906,915,820,734,762,1122,940,1089,1182,845,819,1147,1180,1213,1155,1297,1229,1246,1107,824,409,720,539,400,469,533,666,536,326,763,1416,1248,898,958,1381,1016,1058,986,996,1090,988,699,1176,748,1189,923,1002,1174,1232,756,1107,739,1064,1260,934,1312,849,874,880,1305,1029,1055,958,928,875,809,1153,975,918,966,987,1045,995,1088,1132,1152,914,984,1180,1173,1021,1008,1194,1119,1117,1124,1023,1115,1142,1016,954,1045,922,936,1023,1117,1066,967,1204,1277,962,1146,1001,1056,901,931,816,877,877,1058,912,960,1010,1226,1342,1082,1479,1323,1220,866,867,79],successes:[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]};compressedData.data=byteArray;assert(typeof Module.LZ4==="object","LZ4 not present - was your app build with -s LZ4=1 ?");Module.LZ4.loadPackage({metadata:metadata,compressedData:compressedData});Module["removeRunDependency"]("datafile_electionguard.data")}Module["addRunDependency"]("datafile_electionguard.data");if(!Module.preloadResults)Module.preloadResults={};Module.preloadResults[PACKAGE_NAME]={fromCache:false};if(fetched){processPackageData(fetched);fetched=null}else{fetchedCallback=processPackageData}}if(Module["calledRun"]){runWithFS()}else{if(!Module["preRun"])Module["preRun"]=[];Module["preRun"].push(runWithFS)}};loadPackage({files:[{filename:"/lib/python3.8/site-packages/electionguard/election_builder.py",start:0,end:2623,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/types.py",start:2623,end:2711,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot.py",start:2711,end:38805,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/manifest.py",start:38805,end:72509,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/singleton.py",start:72509,end:72925,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/encrypt.py",start:72925,end:92616,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/tally.py",start:92616,end:107240,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/group.py",start:107240,end:121126,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/publish.py",start:121126,end:125359,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption_share.py",start:125359,end:134439,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_code.py",start:134439,end:135380,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/rsa.py",start:135380,end:137275,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_object_base.py",start:137275,end:137549,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/elgamal.py",start:137549,end:142592,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/schnorr.py",start:142592,end:144852,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_polynomial.py",start:144852,end:149674,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_description_schema.json",start:149674,end:171624,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/hash.py",start:171624,end:174956,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_compact.py",start:174956,end:180606,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/dlog.py",start:180606,end:182421,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/key_ceremony.py",start:182421,end:192178,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/chaum_pedersen.py",start:192178,end:210115,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_validator.py",start:210115,end:214331,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/logs.py",start:214331,end:219364,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/proof.py",start:219364,end:220017,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election.py",start:220017,end:224441,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/serializable.py",start:224441,end:232231,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/scheduler.py",start:232231,end:232687,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/schema.py",start:232687,end:233629,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/key_ceremony_mediator.py",start:233629,end:245836,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption.py",start:245836,end:270950,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/data_store.py",start:270950,end:273701,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_box.py",start:273701,end:276692,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/auxiliary.py",start:276692,end:278634,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/__init__.py",start:278634,end:278634,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decrypt_with_secrets.py",start:278634,end:292768,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption_mediator.py",start:292768,end:306800,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decrypt_with_shares.py",start:306800,end:313385,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/py.typed",start:313385,end:313385,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/scheduler.py.orig",start:313385,end:317243,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/guardian.py",start:317243,end:340260,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/utils.py",start:340260,end:343459,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/nonces.py",start:343459,end:345839,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/PKG-INFO",start:345839,end:356793,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/requires.txt",start:356793,end:356881,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/top_level.txt",start:356881,end:356895,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/SOURCES.txt",start:356895,end:358530,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/dependency_links.txt",start:358530,end:358531,audio:0}],remote_package_size:186527,package_uuid:"71a15819-f1e6-4106-a782-21e0f9df9451"})})();
|
@@ -1 +1 @@
|
|
1
|
-
{"dependencies": {"test": [], "micropip": ["distlib"], "bulletin_board-electionguard": ["electionguard"], "electionguard": ["hypothesis", "jsons", "rsa", "gmpy2", "pyasn1"], "
|
1
|
+
{"dependencies": {"test": [], "micropip": ["distlib"], "bulletin_board-electionguard": ["electionguard"], "electionguard": ["hypothesis", "jsons", "rsa", "gmpy2", "pyasn1"], "jsons": ["typish"], "hypothesis": ["attrs", "sortedcontainers"], "attrs": [], "typish": [], "pyasn1": [], "distlib": [], "rsa": [], "gmpy2": [], "sortedcontainers": []}, "import_name_to_package_name": {"micropip": "micropip", "bulletin_board-electionguard": "bulletin_board-electionguard", "electionguard": "electionguard", "jsons": "jsons", "hypothesis": "hypothesis", "attr": "attrs", "typish": "typish", "pyasn1": "pyasn1", "distlib": "distlib", "rsa": "rsa", "gmpy2": "gmpy2", "sortedcontainers": "sortedcontainers"}}
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.description = ""
|
13
13
|
s.homepage = "https://github.com/decidim/decidim-bulletin-board"
|
14
14
|
s.license = "AGPL-3.0"
|
15
|
-
s.required_ruby_version = Gem::Requirement.new(">=
|
15
|
+
s.required_ruby_version = Gem::Requirement.new(">= 3.0.2")
|
16
16
|
|
17
17
|
# Specify which files should be added to the gem when it is released.
|
18
18
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: voting_schemes-electionguard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Morcillo
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2022-04-05 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -131,14 +131,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
131
|
requirements:
|
132
132
|
- - ">="
|
133
133
|
- !ruby/object:Gem::Version
|
134
|
-
version:
|
134
|
+
version: 3.0.2
|
135
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
137
|
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
|
-
rubygems_version: 3.
|
141
|
+
rubygems_version: 3.2.22
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: ''
|