diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-16 13:23:41 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-16 13:23:41 +0100 |
commit | 6d820228b66bde749efb4c8af7c97ae33fc6cca5 (patch) | |
tree | c9090d600f34dfc91daf257a88bacdd2bcf41198 /src/auditor/generate-revoke-basedb.sh | |
parent | cffefb0b6305655982d409fae9f53b86025300b0 (diff) | |
download | exchange-6d820228b66bde749efb4c8af7c97ae33fc6cca5.tar.xz |
enable auditor in generate-XXX-basedb scripts
Diffstat (limited to 'src/auditor/generate-revoke-basedb.sh')
-rwxr-xr-x | src/auditor/generate-revoke-basedb.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/auditor/generate-revoke-basedb.sh b/src/auditor/generate-revoke-basedb.sh index cb48f524d..0e997acab 100755 --- a/src/auditor/generate-revoke-basedb.sh +++ b/src/auditor/generate-revoke-basedb.sh @@ -72,6 +72,8 @@ export MERCHANT_URL=http://localhost:${MERCHANT_PORT}/ 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_PUB=`gnunet-ecc -p $AUDITOR_PRIV_FILE` # patch configuration taler-config -c $CONF -s exchange -o MASTER_PUBLIC_KEY -V $MASTER_PUB @@ -151,6 +153,7 @@ echo -n "Setting up keys" taler-exchange-offline -c $CONF \ download sign \ enable-account payto://x-taler-bank/localhost/2 \ + enable-auditor $AUDITOR_PUB $AUDITOR_URL "TESTKUDOS Auditor" \ wire-fee now x-taler-bank TESTKUDOS:0.01 TESTKUDOS:0.01 \ upload &> taler-exchange-offline.log |