JavaScript crypto. IMPORTANT: this library REQUIRES that a variable JSCRYPTO_HOME be set by an HTML file, indicating the complete path to the current directory
Select Git revision
jscrypto
#3)
millosolomillo
authored and
GitHub
committed
* View voter list as it is in voter file upload
* Display the login type again.
* Returning to the source fixed-size fonts
* Add a proper label you can easily make selections.
* Make cast vote email a template
* Catch non json results when verifying election
If you try to verify a election and you aren't allowed, you get the following
error. This is because it is expected a JSON result and you get, for instance,
a html page to login.
VM65:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at Function.HELIOS.Election.fromJSONString (helios.js:127)
at Object.success (verify.html?election_url=/helios/elections/258ca6b1-afa4-49a3-b484-c31679d2ebbe:100)
at success (jquery-1.2.2.min.js:28)
at onreadystatechange (jquery-1.2.2.min.js:27)
* Alter request.REQUEST to request.GET
Step toward future django version upgrade
Currently, the following warning is received:
RemovedInDjango19Warning: `request.REQUEST` is deprecated, use `request.GET` or `request.POST` instead.
* Fix to consider request.POST or request.GET
* upgrade gunicorn
* upgrade python
* upgrading to heroku-16
* Remove spurious comment
* correct # of votes
* Tweak style for textarea size
* Show trustee key in a textarea instead of open tab
Google Chrome raises the following error when trying to show
trustee key content as top frame data URL:
"Not allowed to navigate top frame to data URL"
See:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/GbVcuwg_QjM%5B1-25%5D
Tested in Firerox 64.0.2, Chrome Version 71.0.3578.98 and Safari Version 12.0.3
* updated software versions
* added workaround for gce for travis as per https://github.com/travis-ci/travis-ci/issues/7940
* Remove unused import causing deprecation warning
Warning in the form:
RemovedInDjango19Warning: "ModelXYZ" doesn't declare an explicit app_label
Apparently this happens because it tries to import models before app
configuration runs
* upgrade google APIs
* Ignore .idea folder
* Do not try to run more commands if any fails
* import and serve only enabled auth systems urls
* Prevent trustee enumeration by returning the same 404 error both if trustee is not found or secret does not match
Also, return a different 404 if election isn't found (instead of redirecting to home)
* Add missing import
* Dispatch worker method explicitly
* Reduce cluttering and overlapping on imports
* Order loaded voter files by date
* Update random.js
Setting randomWords paranoia level to 6, which is the default level suggested on https://github.com/bitwiseshiftleft/sjcl/wiki/Symmetric-Crypto#generating-random-bytes
Also removing unreachable line at end of function.| Name | Last commit | Last update |
|---|---|---|
| .. | ||
| README | ||
| bigint.class | ||
| bigint.dummy.js | ||
| bigint.java | ||
| bigint.js | ||
| class.js | ||
| elgamal.js | ||
| helios.js | ||
| jsbn.js | ||
| jsbn2.js | ||
| random.js | ||
| sha1.js | ||
| sha2.js | ||
| sjcl.js | ||