aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-16 14:16:02 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-16 14:16:02 +0100
commit70ca77c7b277b3a8033c20d4b8db60fca08717a8 (patch)
treecbe523f452b90e5248e48ca58b8ae4d91980422f
parent3afe09ba96a42535976376e18435c9418ad5af55 (diff)
setup auditor-pub
-rwxr-xr-xsrc/auditor/generate-revoke-basedb.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/auditor/generate-revoke-basedb.sh b/src/auditor/generate-revoke-basedb.sh
index d629381e9..18a55269d 100755
--- a/src/auditor/generate-revoke-basedb.sh
+++ b/src/auditor/generate-revoke-basedb.sh
@@ -73,6 +73,9 @@ BANK_PORT=`taler-config -c $CONF -s BANK -o HTTP_PORT`
export BANK_URL=http://localhost:${BANK_PORT}/
export AUDITOR_URL=http://localhost:8083/
AUDITOR_PRIV_FILE=`taler-config -f -c $CONF -s AUDITOR -o AUDITOR_PRIV_FILE`
+AUDITOR_PRIV_DIR=`dirname $AUDITOR_PRIV_FILE`
+mkdir -p $AUDITOR_PRIV_DIR
+gnunet-ecc -g1 $AUDITOR_PRIV_FILE > /dev/null
AUDITOR_PUB=`gnunet-ecc -p $AUDITOR_PRIV_FILE`
# patch configuration