diff options
author | Florian Dold <florian.dold@gmail.com> | 2014-01-07 00:16:34 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2014-01-07 00:16:34 +0000 |
commit | e67ed9c5c13e743a65aa95ae9643eddd025f1e58 (patch) | |
tree | d47f7bac3ace5da7d510ca5b8957093c68144721 /bin | |
parent | 867962064b87fea49f827231dd0ad19d664e943a (diff) | |
download | gnunet-java-e67ed9c5c13e743a65aa95ae9643eddd025f1e58.tar.gz gnunet-java-e67ed9c5c13e743a65aa95ae9643eddd025f1e58.zip |
- issues
- elgamal parameter generation
- shell wrapper for group certs
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gnunet-ballot-group-certify | 12 | ||||
-rwxr-xr-x | bin/gnunet-elgamal | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/bin/gnunet-ballot-group-certify b/bin/gnunet-ballot-group-certify new file mode 100755 index 0000000..50e7c0f --- /dev/null +++ b/bin/gnunet-ballot-group-certify | |||
@@ -0,0 +1,12 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | if [ "%GNJ_INSTALLED" = "true" ]; | ||
4 | then | ||
5 | export CLASSPATH="%INSTALL_PATH/share/java/*" | ||
6 | else | ||
7 | DIR=`dirname $0` | ||
8 | # if we are in the development environment use class files directly instead of jar | ||
9 | export CLASSPATH="$DIR/../build-gradle/classes/main/:$DIR/../build-gradle/resources/main/:$DIR/../lib/*" | ||
10 | fi | ||
11 | |||
12 | java -ea org.gnunet.voting.CertifyGroupTool "$@" | ||
diff --git a/bin/gnunet-elgamal b/bin/gnunet-elgamal new file mode 100755 index 0000000..a5204c0 --- /dev/null +++ b/bin/gnunet-elgamal | |||
@@ -0,0 +1,12 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | if [ "%GNJ_INSTALLED" = "true" ]; | ||
4 | then | ||
5 | export CLASSPATH="%INSTALL_PATH/share/java/*" | ||
6 | else | ||
7 | DIR=`dirname $0` | ||
8 | # if we are in the development environment use class files directly instead of jar | ||
9 | export CLASSPATH="$DIR/../build-gradle/classes/main/:$DIR/../build-gradle/resources/main/:$DIR/../lib/*" | ||
10 | fi | ||
11 | |||
12 | java -ea org.gnunet.voting.simulation.VotingParameters "$@" | ||