voting_schemes-electionguard 0.23.0 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd08155b0e202f3523f2ecb9df503cab1a379db3638c9ae186ade4422dc88f35
4
- data.tar.gz: 15814a6df83b3064321a9be62153d99fc050ab910cc23ab656d8198e634559a5
3
+ metadata.gz: e097e8c1b9f5d700bdc4ce7b0a32126c18a16f3f841459224d6f62c436ecd9fd
4
+ data.tar.gz: fe8c97895f376a0632c42abe234759a946e6510a104e8bf57f60c0dc592dd21e
5
5
  SHA512:
6
- metadata.gz: 449434c0784440c59b91cb75205cc3116fc5d907c6e6245862321a84a3d24b6512f9b884397f908249c4b630ad27fd42294c53fa8b9d06320b5b04dab897279a
7
- data.tar.gz: 31db81fee8e63a58244ecf189e2e4266409d4fa90708b8b966470a72062403530867234e7e1f2db13a9913cb6db5334a161bca6ce96fc266466e11a7f1b17617
6
+ metadata.gz: 4b67b08171c41b873f95ec56d5aad00edb837074206b1b5fffba61af813eec6cfdc50c326989090e1e465cf1900120ce38073856cf00ddc25b25e47e32f1ea8f
7
+ data.tar.gz: 87e39147435a560841103b35096b5aa7753b65391675dc7906da82501a99d086d03b4b54bd73a65d30f1570a545070e112c7325e5077dc1ceb7f8d0109d9ca53
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.2
1
+ 3.1.1
data/Gemfile CHANGED
@@ -5,6 +5,6 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in decidim-bulletin_board-dummy.gemspec
6
6
  gemspec
7
7
 
8
- gem "rubocop", "~> 0.92.0"
8
+ gem "rubocop", "~> 1.28.0"
9
9
  gem "rubocop-faker", "~> 1.1.0"
10
- gem "rubocop-rspec", "~> 1.44.1"
10
+ gem "rubocop-rspec", "~> 2.10"
data/Gemfile.lock CHANGED
@@ -1,91 +1,91 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- voting_schemes-electionguard (0.23.0)
4
+ voting_schemes-electionguard (0.24.0)
5
5
  rails (>= 5.0.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (7.0.2.3)
11
- actionpack (= 7.0.2.3)
12
- activesupport (= 7.0.2.3)
10
+ actioncable (7.0.3.1)
11
+ actionpack (= 7.0.3.1)
12
+ activesupport (= 7.0.3.1)
13
13
  nio4r (~> 2.0)
14
14
  websocket-driver (>= 0.6.1)
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)
15
+ actionmailbox (7.0.3.1)
16
+ actionpack (= 7.0.3.1)
17
+ activejob (= 7.0.3.1)
18
+ activerecord (= 7.0.3.1)
19
+ activestorage (= 7.0.3.1)
20
+ activesupport (= 7.0.3.1)
21
21
  mail (>= 2.7.1)
22
22
  net-imap
23
23
  net-pop
24
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)
25
+ actionmailer (7.0.3.1)
26
+ actionpack (= 7.0.3.1)
27
+ actionview (= 7.0.3.1)
28
+ activejob (= 7.0.3.1)
29
+ activesupport (= 7.0.3.1)
30
30
  mail (~> 2.5, >= 2.5.4)
31
31
  net-imap
32
32
  net-pop
33
33
  net-smtp
34
34
  rails-dom-testing (~> 2.0)
35
- actionpack (7.0.2.3)
36
- actionview (= 7.0.2.3)
37
- activesupport (= 7.0.2.3)
35
+ actionpack (7.0.3.1)
36
+ actionview (= 7.0.3.1)
37
+ activesupport (= 7.0.3.1)
38
38
  rack (~> 2.0, >= 2.2.0)
39
39
  rack-test (>= 0.6.3)
40
40
  rails-dom-testing (~> 2.0)
41
41
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
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)
42
+ actiontext (7.0.3.1)
43
+ actionpack (= 7.0.3.1)
44
+ activerecord (= 7.0.3.1)
45
+ activestorage (= 7.0.3.1)
46
+ activesupport (= 7.0.3.1)
47
47
  globalid (>= 0.6.0)
48
48
  nokogiri (>= 1.8.5)
49
- actionview (7.0.2.3)
50
- activesupport (= 7.0.2.3)
49
+ actionview (7.0.3.1)
50
+ activesupport (= 7.0.3.1)
51
51
  builder (~> 3.1)
52
52
  erubi (~> 1.4)
53
53
  rails-dom-testing (~> 2.0)
54
54
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
55
- activejob (7.0.2.3)
56
- activesupport (= 7.0.2.3)
55
+ activejob (7.0.3.1)
56
+ activesupport (= 7.0.3.1)
57
57
  globalid (>= 0.3.6)
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)
58
+ activemodel (7.0.3.1)
59
+ activesupport (= 7.0.3.1)
60
+ activerecord (7.0.3.1)
61
+ activemodel (= 7.0.3.1)
62
+ activesupport (= 7.0.3.1)
63
+ activestorage (7.0.3.1)
64
+ actionpack (= 7.0.3.1)
65
+ activejob (= 7.0.3.1)
66
+ activerecord (= 7.0.3.1)
67
+ activesupport (= 7.0.3.1)
68
68
  marcel (~> 1.0)
69
69
  mini_mime (>= 1.1.0)
70
- activesupport (7.0.2.3)
70
+ activesupport (7.0.3.1)
71
71
  concurrent-ruby (~> 1.0, >= 1.0.2)
72
72
  i18n (>= 1.6, < 2)
73
73
  minitest (>= 5.1)
74
74
  tzinfo (~> 2.0)
75
75
  ast (2.4.2)
76
76
  builder (3.2.4)
77
- concurrent-ruby (1.1.8)
77
+ concurrent-ruby (1.1.10)
78
78
  crass (1.0.6)
79
- diff-lcs (1.4.4)
79
+ diff-lcs (1.5.0)
80
80
  digest (3.1.0)
81
- erubi (1.10.0)
82
- faker (2.15.1)
83
- i18n (>= 1.6, < 2)
81
+ erubi (1.11.0)
82
+ faker (2.22.0)
83
+ i18n (>= 1.8.11, < 2)
84
84
  globalid (1.0.0)
85
85
  activesupport (>= 5.0)
86
- i18n (1.8.10)
86
+ i18n (1.12.0)
87
87
  concurrent-ruby (~> 1.0)
88
- loofah (2.16.0)
88
+ loofah (2.18.0)
89
89
  crass (~> 1.0.2)
90
90
  nokogiri (>= 1.5.9)
91
91
  mail (2.7.1)
@@ -94,7 +94,7 @@ GEM
94
94
  method_source (1.0.0)
95
95
  mini_mime (1.1.2)
96
96
  mini_portile2 (2.8.0)
97
- minitest (5.15.0)
97
+ minitest (5.16.3)
98
98
  net-imap (0.2.3)
99
99
  digest
100
100
  net-protocol
@@ -110,89 +110,88 @@ GEM
110
110
  net-protocol
111
111
  timeout
112
112
  nio4r (2.5.8)
113
- nokogiri (1.13.3)
113
+ nokogiri (1.13.8)
114
114
  mini_portile2 (~> 2.8.0)
115
115
  racc (~> 1.4)
116
- nokogiri (1.13.3-x86_64-linux)
116
+ nokogiri (1.13.8-x86_64-linux)
117
117
  racc (~> 1.4)
118
- parallel (1.20.1)
119
- parser (3.0.0.0)
118
+ parallel (1.22.1)
119
+ parser (3.1.2.1)
120
120
  ast (~> 2.4.1)
121
121
  racc (1.6.0)
122
- rack (2.2.3)
123
- rack-test (1.1.0)
124
- rack (>= 1.0, < 3)
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)
122
+ rack (2.2.4)
123
+ rack-test (2.0.2)
124
+ rack (>= 1.3)
125
+ rails (7.0.3.1)
126
+ actioncable (= 7.0.3.1)
127
+ actionmailbox (= 7.0.3.1)
128
+ actionmailer (= 7.0.3.1)
129
+ actionpack (= 7.0.3.1)
130
+ actiontext (= 7.0.3.1)
131
+ actionview (= 7.0.3.1)
132
+ activejob (= 7.0.3.1)
133
+ activemodel (= 7.0.3.1)
134
+ activerecord (= 7.0.3.1)
135
+ activestorage (= 7.0.3.1)
136
+ activesupport (= 7.0.3.1)
137
137
  bundler (>= 1.15.0)
138
- railties (= 7.0.2.3)
138
+ railties (= 7.0.3.1)
139
139
  rails-dom-testing (2.0.3)
140
140
  activesupport (>= 4.2.0)
141
141
  nokogiri (>= 1.6)
142
- rails-html-sanitizer (1.4.2)
142
+ rails-html-sanitizer (1.4.3)
143
143
  loofah (~> 2.3)
144
- railties (7.0.2.3)
145
- actionpack (= 7.0.2.3)
146
- activesupport (= 7.0.2.3)
144
+ railties (7.0.3.1)
145
+ actionpack (= 7.0.3.1)
146
+ activesupport (= 7.0.3.1)
147
147
  method_source
148
148
  rake (>= 12.2)
149
149
  thor (~> 1.0)
150
150
  zeitwerk (~> 2.5)
151
- rainbow (3.0.0)
152
- rake (13.0.3)
153
- regexp_parser (2.1.1)
151
+ rainbow (3.1.1)
152
+ rake (13.0.6)
153
+ regexp_parser (2.5.0)
154
154
  rexml (3.2.5)
155
- rspec (3.10.0)
156
- rspec-core (~> 3.10.0)
157
- rspec-expectations (~> 3.10.0)
158
- rspec-mocks (~> 3.10.0)
159
- rspec-core (3.10.1)
160
- rspec-support (~> 3.10.0)
161
- rspec-expectations (3.10.1)
155
+ rspec (3.11.0)
156
+ rspec-core (~> 3.11.0)
157
+ rspec-expectations (~> 3.11.0)
158
+ rspec-mocks (~> 3.11.0)
159
+ rspec-core (3.11.0)
160
+ rspec-support (~> 3.11.0)
161
+ rspec-expectations (3.11.0)
162
162
  diff-lcs (>= 1.2.0, < 2.0)
163
- rspec-support (~> 3.10.0)
164
- rspec-mocks (3.10.2)
163
+ rspec-support (~> 3.11.0)
164
+ rspec-mocks (3.11.1)
165
165
  diff-lcs (>= 1.2.0, < 2.0)
166
- rspec-support (~> 3.10.0)
167
- rspec-support (3.10.2)
168
- rubocop (0.92.0)
166
+ rspec-support (~> 3.11.0)
167
+ rspec-support (3.11.0)
168
+ rubocop (1.28.2)
169
169
  parallel (~> 1.10)
170
- parser (>= 2.7.1.5)
170
+ parser (>= 3.1.0.0)
171
171
  rainbow (>= 2.2.2, < 4.0)
172
- regexp_parser (>= 1.7)
172
+ regexp_parser (>= 1.8, < 3.0)
173
173
  rexml
174
- rubocop-ast (>= 0.5.0)
174
+ rubocop-ast (>= 1.17.0, < 2.0)
175
175
  ruby-progressbar (~> 1.7)
176
- unicode-display_width (>= 1.4.0, < 2.0)
177
- rubocop-ast (1.4.1)
178
- parser (>= 2.7.1.5)
176
+ unicode-display_width (>= 1.4.0, < 3.0)
177
+ rubocop-ast (1.21.0)
178
+ parser (>= 3.1.1.0)
179
179
  rubocop-faker (1.1.0)
180
180
  faker (>= 2.12.0)
181
181
  rubocop (>= 0.82.0)
182
- rubocop-rspec (1.44.1)
183
- rubocop (~> 0.87)
184
- rubocop-ast (>= 0.7.1)
182
+ rubocop-rspec (2.11.1)
183
+ rubocop (~> 1.19)
185
184
  ruby-progressbar (1.11.0)
186
- strscan (3.0.1)
185
+ strscan (3.0.4)
187
186
  thor (1.2.1)
188
- timeout (0.2.0)
189
- tzinfo (2.0.4)
187
+ timeout (0.3.0)
188
+ tzinfo (2.0.5)
190
189
  concurrent-ruby (~> 1.0)
191
- unicode-display_width (1.7.0)
190
+ unicode-display_width (2.2.0)
192
191
  websocket-driver (0.7.5)
193
192
  websocket-extensions (>= 0.1.0)
194
193
  websocket-extensions (0.1.5)
195
- zeitwerk (2.5.4)
194
+ zeitwerk (2.6.0)
196
195
 
197
196
  PLATFORMS
198
197
  ruby
@@ -201,9 +200,9 @@ PLATFORMS
201
200
  DEPENDENCIES
202
201
  rake (~> 13.0)
203
202
  rspec (~> 3.7)
204
- rubocop (~> 0.92.0)
203
+ rubocop (~> 1.28.0)
205
204
  rubocop-faker (~> 1.1.0)
206
- rubocop-rspec (~> 1.44.1)
205
+ rubocop-rspec (~> 2.10)
207
206
  voting_schemes-electionguard!
208
207
 
209
208
  BUNDLED WITH
@@ -2,6 +2,6 @@
2
2
 
3
3
  module VotingSchemes
4
4
  module Electionguard
5
- VERSION = "0.23.0"
5
+ VERSION = "0.24.0"
6
6
  end
7
7
  end
@@ -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: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"})})();
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:26369,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,18784,19627,20537,21564,22738,23748,24730,26024],sizes:[904,1072,1058,957,826,760,1131,925,792,890,1023,1005,1003,1012,1212,989,1261,1035,929,843,910,1027,1174,1010,982,1294,345],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:45648,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/common.py",start:45648,end:49846,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/messages.py",start:49846,end:51559,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/utils.py",start:51559,end:52792,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/PKG-INFO",start:52792,end:53140,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/requires.txt",start:53140,end:53172,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/top_level.txt",start:53172,end:53187,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/SOURCES.txt",start:53187,end:54043,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/dependency_links.txt",start:54043,end:54201,audio:0}],remote_package_size:30465,package_uuid:"84c1a074-d54f-4de5-b4d3-a569ee9fec01"})})();
@@ -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: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
+ 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:"6413b255-219c-474c-81b8-b7c11d1cd708"})})();
@@ -1 +1 @@
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"}}
1
+ {"dependencies": {"test": [], "distlib": [], "micropip": ["distlib"], "electionguard": ["hypothesis", "jsons", "rsa", "gmpy2", "pyasn1"], "rsa": [], "pyasn1": [], "hypothesis": ["attrs", "sortedcontainers"], "jsons": ["typish"], "bulletin_board-electionguard": ["electionguard"], "gmpy2": [], "typish": [], "attrs": [], "sortedcontainers": []}, "import_name_to_package_name": {"distlib": "distlib", "micropip": "micropip", "electionguard": "electionguard", "rsa": "rsa", "pyasn1": "pyasn1", "hypothesis": "hypothesis", "jsons": "jsons", "bulletin_board-electionguard": "bulletin_board-electionguard", "gmpy2": "gmpy2", "typish": "typish", "attr": "attrs", "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(">= 3.0.2")
15
+ s.required_ruby_version = Gem::Requirement.new(">= 3.1.1")
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.23.0
4
+ version: 0.24.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: 2022-04-05 00:00:00.000000000 Z
14
+ date: 2022-08-26 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: 3.0.2
134
+ version: 3.1.1
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.2.22
141
+ rubygems_version: 3.3.7
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: ''