diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 10876c1..1867429 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -30,7 +30,7 @@ jobs: - name: Install internal dependencies run: | - export INTERNAL_GIT_VERSION="10.0.1" + export INTERNAL_GIT_VERSION="10.0.2" git clone https://github.com/sequentech/tally-methods.git cd tally-methods && git checkout "${INTERNAL_GIT_VERSION}" && cd .. mv tally-methods/tally_methods . diff --git a/README.md b/README.md index 7070bb2..fafa44a 100644 --- a/README.md +++ b/README.md @@ -122,11 +122,11 @@ appropiate version to use in your case. > :warning: **Note** You need to change the `INTERNAL_GIT_VERSION` you should be using depending on the version of [Sequent] platform used to run the election you -want to verify. In this example, we're using version `10.0.1` of [Sequent] +want to verify. In this example, we're using version `10.0.2` of [Sequent] platform. ```bash -export INTERNAL_GIT_VERSION="10.0.1" +export INTERNAL_GIT_VERSION="10.0.2" git clone https://github.com/sequentech/election-verifier.git cd election-verifier git checkout "${INTERNAL_GIT_VERSION}" diff --git a/build.sbt b/build.sbt index 770d586..5410909 100644 --- a/build.sbt +++ b/build.sbt @@ -15,7 +15,7 @@ name := "election-verifier" -version := "10.0.1" +version := "10.0.2" scalaVersion := "2.10.3" diff --git a/package.sh b/package.sh index adcab72..7495c0b 100755 --- a/package.sh +++ b/package.sh @@ -19,7 +19,7 @@ rm -r -f dist mkdir dist cp -r tally_methods dist cp -r tally_pipes dist -cp target/scala-2.10/proguard/election-verifier_2.10-10.0.1.jar dist +cp target/scala-2.10/proguard/election-verifier_2.10-10.0.2.jar dist cp pverify.sh dist cp vmnc.sh dist cp verify.py dist diff --git a/project.spdx.yml b/project.spdx.yml index e9aa287..cdb8bb9 100644 --- a/project.spdx.yml +++ b/project.spdx.yml @@ -6,7 +6,7 @@ creationInfo: - "Organization: Sequent Tech Inc." - "Person: Eduardo Robles" licenseListVersion: "3.9" -name: "election-verifier-10.0.1" +name: "election-verifier-10.0.2" dataLicense: "CC0-1.0" documentNamespace: "http://sequentech.io/spdxdocs/spdx-document-election-verifier-0d6261e7-2d52-4eb7-9d3d-2091a35978ab" documentDescribes: @@ -15,13 +15,13 @@ packages: - SPDXID: "SPDXRef-Package-election-verifier" summary: "election-verifier performs tally and cryptographic verification of the election process, including key generation, shuffling and joint-decryption." copyrightText: "Copyright 2015-2021 Sequent Tech Inc and others" - downloadLocation: "git+https://github.com/sequentech/election-verifier.git@10.0.1" + downloadLocation: "git+https://github.com/sequentech/election-verifier.git@10.0.2" filesAnalyzed: false homepage: "https://github.com/sequentech/election-verifier" licenseConcluded: "NOASSERTION" licenseDeclared: "AGPL-3.0-only" name: "election-verifier" - versionInfo: "10.0.1" + versionInfo: "10.0.2" - SPDXID: "SPDXRef-Package-tally-methods" description: "sequent base tallying system." copyrightText: "Copyright 2014 - 2021 Sequent Tech Inc and others" diff --git a/pverify.sh b/pverify.sh index bf99116..2f72b31 100755 --- a/pverify.sh +++ b/pverify.sh @@ -22,5 +22,5 @@ fi command -v java >/dev/null 2>&1 || { echo >&2 "* I require java but it's not installed. Aborting."; exit 1; } -java -Djava.security.egd=file:/dev/./urandom -classpath election-verifier_2.10-10.0.1.jar org.sequent.sequent.Verifier $1 $2 +java -Djava.security.egd=file:/dev/./urandom -classpath election-verifier_2.10-10.0.2.jar org.sequent.sequent.Verifier $1 $2 exit $? diff --git a/testdata/8.tar b/testdata/8.tar index 12e94a3..f38b737 100644 Binary files a/testdata/8.tar and b/testdata/8.tar differ diff --git a/testdata/8_wrong_ballots.tar b/testdata/8_wrong_ballots.tar index 0752f1c..cde5b5c 100644 Binary files a/testdata/8_wrong_ballots.tar and b/testdata/8_wrong_ballots.tar differ diff --git a/testdata/8_wrong_proof_of_shuffle.tar b/testdata/8_wrong_proof_of_shuffle.tar index c073eb9..5c9027e 100644 Binary files a/testdata/8_wrong_proof_of_shuffle.tar and b/testdata/8_wrong_proof_of_shuffle.tar differ diff --git a/testdata/8_wrong_results.tar b/testdata/8_wrong_results.tar index 614a8de..6162f7e 100644 Binary files a/testdata/8_wrong_results.tar and b/testdata/8_wrong_results.tar differ diff --git a/vmnc.sh b/vmnc.sh index 1e397b9..ddef733 100755 --- a/vmnc.sh +++ b/vmnc.sh @@ -19,4 +19,4 @@ command -v java >/dev/null 2>&1 || { echo >&2 "* I require java but it's not ins DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -java -Djava.security.egd=file:/dev/./urandom -classpath $DIR/election-verifier_2.10-10.0.1.jar org.sequent.sequent.Vmnc "$@" +java -Djava.security.egd=file:/dev/./urandom -classpath $DIR/election-verifier_2.10-10.0.2.jar org.sequent.sequent.Vmnc "$@"