aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2014-01-07 00:16:34 +0000
committerFlorian Dold <florian.dold@gmail.com>2014-01-07 00:16:34 +0000
commite67ed9c5c13e743a65aa95ae9643eddd025f1e58 (patch)
treed47f7bac3ace5da7d510ca5b8957093c68144721 /bin
parent867962064b87fea49f827231dd0ad19d664e943a (diff)
downloadgnunet-java-e67ed9c5c13e743a65aa95ae9643eddd025f1e58.tar.gz
gnunet-java-e67ed9c5c13e743a65aa95ae9643eddd025f1e58.zip
- issues
- elgamal parameter generation - shell wrapper for group certs
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gnunet-ballot-group-certify12
-rwxr-xr-xbin/gnunet-elgamal12
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
3if [ "%GNJ_INSTALLED" = "true" ];
4then
5 export CLASSPATH="%INSTALL_PATH/share/java/*"
6else
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/*"
10fi
11
12java -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
3if [ "%GNJ_INSTALLED" = "true" ];
4then
5 export CLASSPATH="%INSTALL_PATH/share/java/*"
6else
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/*"
10fi
11
12java -ea org.gnunet.voting.simulation.VotingParameters "$@"